Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onSay(cid, words, param, channel)
- local check = tostring(getPlayerStorageValue(cid, 35001)):explode(",")
- local timestor = getPlayerStorageValue(cid, 35000)
- if (isInArray({"pt", "patent"}, param)) then
- return doPlayerSendTextMessage(cid, 27, "Your patent is " .. check[1] .. ".")
- elseif (isInArray({"life", "health"}, param)) then
- return doPlayerSendTextMessage(cid, 27, "Your health is " .. check[2] .. ".")
- elseif (isInArray({"speed", "spd"}, param)) then
- return doPlayerSendTextMessage(cid, 27, "Your speed is " .. check[3] .. ".")
- elseif (isInArray({"mana", "mn"}, param)) then
- return doPlayerSendTextMessage(cid, 27, "Your mana is " .. check[4] .. ".")
- else
- return doPlayerSendTextMessage(cid, 27, "Your played time is " .. getTime(timestor) .. ".")
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement