well, i want a movement when a player stand in X sqm or teleport this get a new guild, i got this until now
and
doesnt works, in the server says something about "compare nil with number" on line 3 when i step in
Code:
function onStepIn(cid)
getPlayerGuildLevel(cid) if(playerGuildLevel < GUILDLEVEL_LEADER) then
doPlayerSetGuildRank(cid, Leader)
end
end
and
Code:
<movevent type="StepIn" uniqueid="12000" event="script" value="nationrank.lua"/>
doesnt works, in the server says something about "compare nil with number" on line 3 when i step in