Hello dude, I got this script who works that:
When i say command !info i got information
I search function which checked player pz
And i trying add to the script, i want to look like that
My script :
When i say command !info i got information
19:25 Your statistics:
Health 1415/1415
Mana 445/445
Town Caved
Vocation Knight
Level 90
Experience 11365300
Mana Spent 2147483647
I search function which checked player pz
And i trying add to the script, i want to look like that
You can log out for *** seconds
My script :
Lua:function onSay(cid, words, param, channel) msg = 'Your statistics:\nHealth ' .. getCreatureHealth(cid) .. '/' .. getCreatureMaxHealth(cid) .. '\n' .. 'Mana ' .. getCreatureMana(cid) .. '/' .. getCreatureMaxMana(cid) .. '\n' .. 'Town ' .. getTownName(getPlayerTown(cid)) .. '\n' .. 'Vocation ' .. getVocationInfo(getPlayerVocation(cid)).name .. '\n' .. 'Level ' .. getPlayerLevel(cid) .. '\n' .. 'Experience ' .. getPlayerExperience(cid) .. '\n' .. 'Mana Spent ' .. getPlayerSpentMana(cid) return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, msg) end
Someone know that function ?