• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved npc does not react because item count is higher.

Exoltes

Novia OTserv Developer
Joined
Jul 2, 2009
Messages
563
Reaction score
47
Location
Belgium
I'm working on a 8.54 Open Tibia Server using The Forgotten Server - Version 0.2.7 (Mystic Spirit).

I am making this NPC where you have to deliver 5 items to complete his mission. But when I carry for example 9 of these items the NPC does not recognize it. I've tried adding a '>' sign but that only gave errors, so I'm hoping any of you can help me along.


Code:
             if getPlayerStorageValue(cid, 6613) == 1 and getPlayerItemCount(cid, 7963) == 5 then

Thanks in advance.
 
Back
Top