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

Kick a player when walking on a tile

vicma

New Member
Joined
Jan 14, 2010
Messages
19
Reaction score
1
I want that when a player touch or press a tile this player gets kick or logout..
sounds easy I know... For otx 2 or 0.4 TFS.
 
This will kick/logout a player.
But, will also softlock the player.. because logging in will activate onStepIn, which would immediately log the player back out. xD

If you need something further, let us know.
Lua:
function onStepIn(cid, item, position, fromPosition)
    if not isPlayer(cid) then
        return true
    end
    doRemoveCreature(cid)
    return true
end
 
Back
Top