• 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!

Error Script Whats wrong? :S

Zarabustor

Human Being
Joined
Sep 10, 2009
Messages
186
Reaction score
0
Location
Cancun, Mexico
Code:
    if isPlayer(cid) == true  then
        if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE) == 2196,7889 )then
                doCreatureSetDropLoot(cid, false)      
		end
end

Help me with this, i want to put 2 items in this part:

if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE) == 2196,7889 )then

but i cant, appears error, please help me! I will repp++:$
 
Code:
	if isPlayer(cid) == true  then
		if isInArray({2196, 7889}, getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid) then
			doCreatureSetDropLoot(cid, false)      
		end
	end
 
Back
Top