• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TalkAction !info Command

Bubecki

Member
Joined
Nov 16, 2015
Messages
30
Reaction score
10
Hello dude, I got this script who works that:
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 :


  1. 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 ?
 
Back
Top