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

Lua Action simple error

login12

void newbie scripter()
Joined
Feb 26, 2011
Messages
164
Reaction score
24
Location
Brazil
Hi guys, sorry for this but,
i try make one script like:

Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
        if isPlayer(cid) then
          doCreatureChangeOutfit(cid, 257)
        return true
        end
end

but i have this error on console:
ZnxvfaF.png



its weird, because i use the same function for one talkaction and him works fine.
someone can tell why on action i get this error?
thanks
 
Back
Top