Ir para conteúdo

>>Stats<<


Subwat

Posts Recomendados

eu estava sem nada pra fazer,então fiz este script que mostra suas statistas,magic level,level,skills,acesso,vida,mana,dias de p.a e etc.

é muito bom para servers de high xp no qual o lvl Passa de 64k ae volta do zero pros players conseguirem ver o proprio lvl.

 

TALKACTIONS/SCRIPTS/STATS.LUA

function onSay(cid, words, param)
if(param == '') then

doPlayerPopupFYI(cid, "•Stats•:" ..
	"\n•Nome: " .. getCreatureName(cid) ..
	"\n•Nivel: " .. getPlayerLevel(cid) ..
	"\n•Nivel Magia: "..getPlayerMagLevel(cid).. 
	"\n•Dinheiro: " .. getPlayerMoney(cid) ..
	"\n•Premium: " .. getPlayerPremiumDays(cid) ..
	"\n•GUID: " .. getPlayerGUID(cid) ..
	"\n•Group: " .. getPlayerGroupName(cid) ..
	"\n•Access: " .. getPlayerAccess(cid) ..
		"\n•Health - " .. getCreatureHealth(cid) .. " / " .. getCreatureMaxHealth(cid) .. ", Mana - " .. getCreatureMana(cid) .. " / " .. getCreatureMaxMana(cid) ..
		"\n•Skills:" ..
		"\n•Fist - " .. getPlayerSkillLevel(cid, SKILL_FIST) .. ", Club - " .. getPlayerSkillLevel(cid, SKILL_CLUB) .. ", Sword - " .. getPlayerSkillLevel(cid, SKILL_SWORD) .. ", Axe - " .. getPlayerSkillLevel(cid, SKILL_AXE) ..
		"\n•Distance - " .. getPlayerSkillLevel(cid, SKILL_DISTANCE) .. ", Shielding - " .. getPlayerSkillLevel(cid, SKILL_SHIELD) .. ", Fishing - " .. getPlayerSkillLevel(cid, SKILL_FISHING) ..
	"\n•Moedas:" ..
		"\n(Crystal - " .. getPlayerItemCount(cid, 2160) .. ", Platinum - " .. getPlayerItemCount(cid, 2152) .. ", Gold - " .. getPlayerItemCount(cid, 2148) .. ") ")
end 
return TRUE
end

 

 	<talkaction words="!stats" script="stats.lua"/>

 

 

Créditos:

Subwat

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...