tenta isso..
function onUse(cid, item, frompos, item2, topos)
topos.stackpos = 253
local player1 = getThingfromPos(topos)
if not isPlayer(player1.uid) then return doPlayerSendCancel(cid, "You can scout only players.") end
local lol = getPlayerName(player1.uid)
local nick = getPlayerName(player1.uid)
local ki = getPlayerMagLevel(player1.uid)
local lvl = getPlayerLevel(player1.uid)
local mana = getPlayerMana(player1.uid)
local hp = getPlayerHealth(player1.uid)
local maxmana = getPlayerMaxMana(player1.uid)
local maxhp = getPlayerMaxHealth(player1.uid)
local access = getPlayerAccess(player1.uid)
if access <=3 then
doPlayerSendTextMessage(cid, 22, 'Nick: '..nick..'')
doPlayerSendTextMessage(cid, 22, 'Level: '..lvl..'')
doPlayerSendTextMessage(cid, 22, 'Ki Level: '..ki..'')
doPlayerSendTextMessage(cid, 22, 'Hp: '..hp..'/'..maxhp..'')
doPlayerSendTextMessage(cid, 22, 'Ki Points: '..mana..'/'..maxmana..'')
else
return 0
end
return 1
end







info
Grupo: Campones
Registrado: 17/12/07
Posts: 32
Reputação: -1
Char no Tibia: aienbdn
DUVIDA SANADA...
Obrigado Slicer e Skymagnum
Editado Outubro 19 por lordrai