• 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 Stats System by DevilMoon

DevilMoon

New Member
Joined
Feb 15, 2010
Messages
4
Reaction score
0
Data>Talkactions>Scripts
stats.lua

Code:
--- { By DevilMoon } ---

function onSay(cid, words, param)

function getResets(cid)
resets = getPlayerStorageValue(cid,36874)
if resets < 0 then
resets = 0
end
return resets
end

doPlayerPopupFYI(cid, "Informaçao do " .. getPlayerName(cid) .."" ..

"\nStatus:" ..

"\nLevel - " .. getPlayerLevel(cid) ..
"\nGuild: " .. getPlayerGuildName(cid) .. 
"\nReset - " .. getResets(cid) ..   
"\nVocation: .. getPlayerVocation(cid) ..
"\nMl: " .. getPlayerMagLevel(cid) .. 
"\nHealth - " .. getCreatureHealth(cid) .. " / " .. getCreatureMaxHealth(cid) .. ", Mana - " .. getCreatureMana(cid) .. " / " .. getCreatureMaxMana(cid) ..
"\nIP: " .. doConvertIntegerToIp(getPlayerIp(cid)) .. "")
return TRUE
end

Data>Talkactions.xml

Code:
        <talkaction words="!stats" event="script" value="stats.lua"/>

Byee...
 
srry i'am Brazilian....

The Player say:

!stats

and a window appears saying Ml, Life and Mana ..
Ip, Vocation etc ...
 
Lmao he just edited(maybe not even that) the ./info script and posted it for normal players. Thats what I call a master fail for making players be able to see each other's IP's :D
 
Back
Top