Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onSay(cid, words, param)
- local player = Player(cid) --Get the player
- if player:getAccountType() < ACCOUNT_TYPE_GAMEMASTER then
- return false
- else
- CLIPORT = not CLIPORT --Set canMove to the opposite bool
- if(not CLIPORT) then
- player:sendCancelMessage("Mapclick teleport is now OFF!")
- else
- player:sendCancelMessage("Mapclick teleport is now ON!")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement