Advertisement
This is comment for paste
securemode
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --talkaction
- local msg = "Now your PvP system is %s."
- function onSay(cid, words, param)
- local _table = {
- ["on"] = {"active", 1},
- ["off"] = {"disabled", 0},
- }
- if _table[param:lower()] then
- local mode = _table[param:lower()]
- setPlayerStorageValue(cid, 91821, mode[2])
- doPlayerSendTextMessage(cid, 27, msg:format(mode[1]))
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement