Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onSay(player, words, param)
- local t = string.explode(param, ",")
- local pid = tostring(t[1])
- local mount = tonumber(t[2])
- if (not pid) then
- return doPlayerSendTextMessage(player, 27, "É necessário que especifíque o nome do Player.")
- end
- if (not mount) then
- return doPlayerSendTextMessage(player, 27, "É necessário que especifíque a mountaria a ser adicionada.")
- end
- doPlayerAddMount(pid, mount)
- player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Voce acabou de receber uma mount. Cheque-a.")
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement