• 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 how to: a check that set iten that cannot be used

1268995

Member
Joined
Sep 9, 2010
Messages
422
Reaction score
13
Hello, i am making a checker to my script but is not working

look:

Code:
(...)
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid ~= 2182 then
(...)

I want that if player use the item named X on itemID 2182, do code returnns.

How?

EDIT: oh i found thesolution. I must put:

if itemEx.itemid ~= 2182 then

I mean, add the 'Ex'. Solved
 
Last edited:
Back
Top