foda man ajemte cria topico e a galera nem liga que tenso
if string.find(tostring(getCreatureName(cid)),"[[Vip]]") then
so tira o Vip e por o que vc quiser tipo
if string.find(tostring(getCreatureName(cid)),"[[snow]]") then
ai quando posta na area errada esse povo a indafica xiando se for isso manim so faser isso ai
AI QUANDO VC DER VIP AHUM JOGADOR VAI FICA [sNOW] Potrexzinhox




info
Grupo: Campones
Registrado: 07/04/08
Posts: 8
Reputação: 0
Char no Tibia: Potrexzinhox
Olá, é os eguinte, eu estou usando este VIP By Account e eu queria saber como faço para que este script funcione com minha vip by account, pois tem que mudar as functions e eu n me lembro mais como faz.. alguem poderia me ajudar a modificar?
--[[ by vodkart ]]-- function onLogin(cid) if getPlayerStorageValue(cid, 13540) - os.time() > 0 then setPlayerStorageValue(cid, 9898, 1) end local pos = {x = 157, y = 50, z = 7} -- posiçao do templo. function Vodka(cid) if isPlayer(cid) then db.executeQuery("UPDATE `players` SET `name` = '"..string.sub(getCreatureName(cid), 7).."' WHERE `id` = "..getPlayerGUID(cid)..";") doRemoveCreature(cid) end end if getPlayerStorageValue(cid, 9898) == 1 and getPlayerStorageValue(cid, 13540) - os.time() < 1 or getPlayerStorageValue(cid, 13540) - os.time() == 0 then doTeleportThing(cid, pos) doPlayerPopupFYI(cid, "Sua vip Account acabou.") setPlayerStorageValue(cid, 9898, -1) if string.find(tostring(getCreatureName(cid)),"[[Vip]]") then addEvent(Vodka, 3*1000, cid) end end return TRUE endValendo +2 REP pra quem me ajudar :s