Servidor testado: Styller Yourots, version 0.7.5 (Styller Yourots) e Alissow 0.4.1
Descrição: ao falar !info ira aparecer as informaçoes do player dinhero em mãos, vocação, guid, magic level, health/healthtotal, mana/manatotal e tempo de premium time.
Instalando:
--[ Feito por Bvkse e arrumado por Tigerx2]--
function onSay(cid, words, param)
local list = {
name = getCreatureName(cid),
level = getPlayerLevel(cid),
moneyh = getPlayerMoney(cid),
magic = getPlayerMagLevel(cid),
health = getCreatureHealth(cid),
maxhealth = getCreatureMaxHealth(cid),
mana = getCreatureMana(cid),
maxmana = getCreatureMaxMana(cid),
premium = getPlayerPremiumDays(cid),
guild = getPlayerGuildName(cid),
vocation = getPlayerVocationName(cid),
pos = getCreaturePos(cid),
}
function guild(cid)
if getPlayerGuildName(cid) == '' then
return 'None'
else
return getPlayerGuildName(cid)
end
return true
end
doSendMagicEffect(list.pos, CONST_ME_POFF)
doPlayerPopupFYI(cid, "Player informations\n\nName: ".. list.name .."\nLevel: ".. list.level .."\nVocation: ".. list.vocation .."\nMoney in hands: ".. list.moneyh .."\nGuild: ".. guild(cid) .."\nMagic level: ".. list.magic .."\nHealth: ".. list.health .."/".. list.maxhealth .."\nMana: ".. list.mana.."/".. list.maxmana .."\nPremium time: ".. list.premium .." days\n\nCreditos: Bvkse/tigerx2")
return true
end
info
Grupo: Conde
Registrado: 05/05/10
Posts: 544
Reputação: +115
Autor: Bvkse e Tigerx2
Servidor testado: Styller Yourots, version 0.7.5 (Styller Yourots) e Alissow 0.4.1
Descrição: ao falar !info ira aparecer as informaçoes do player dinhero em mãos, vocação, guid, magic level, health/healthtotal, mana/manatotal e tempo de premium time.
Instalando:
--[ Feito por Bvkse e arrumado por Tigerx2]-- function onSay(cid, words, param) local list = { name = getCreatureName(cid), level = getPlayerLevel(cid), moneyh = getPlayerMoney(cid), magic = getPlayerMagLevel(cid), health = getCreatureHealth(cid), maxhealth = getCreatureMaxHealth(cid), mana = getCreatureMana(cid), maxmana = getCreatureMaxMana(cid), premium = getPlayerPremiumDays(cid), guild = getPlayerGuildName(cid), vocation = getPlayerVocationName(cid), pos = getCreaturePos(cid), } function guild(cid) if getPlayerGuildName(cid) == '' then return 'None' else return getPlayerGuildName(cid) end return true end doSendMagicEffect(list.pos, CONST_ME_POFF) doPlayerPopupFYI(cid, "Player informations\n\nName: ".. list.name .."\nLevel: ".. list.level .."\nVocation: ".. list.vocation .."\nMoney in hands: ".. list.moneyh .."\nGuild: ".. guild(cid) .."\nMagic level: ".. list.magic .."\nHealth: ".. list.health .."/".. list.maxhealth .."\nMana: ".. list.mana.."/".. list.maxmana .."\nPremium time: ".. list.premium .." days\n\nCreditos: Bvkse/tigerx2") return true endTAG:
é um script bem legal, parece com um sistema de Dex, dai resolvi trazer para voces.