GU

Item Que Ver Bless

Por gudamata, 17 de out. de 2010 em Scripts

script
4
3.5k
gudamataG
17 de outubro de 2010 às 20:22

Um script que quanto clica nele ele ver as bless que o player possue!

 

Blessings: First Blessing-> Sim, Second Blessing-> Sim, Third Blessing-> Sim, Fourth Blessing-> Sim, Fifth Blessing-> Sim

 

alguem ajuda ai?

VodkartV
17 de outubro de 2010 às 20:31

By MatheusMkalo:

 

function onUse(cid, item) 
first = "" 
second = "" 
third = "" 
fourth = "" 
fifth = "" 

if getPlayerBlessing(cid, 1) then 
first = "First Bless" 
end 
if getPlayerBlessing(cid, 2) then 
second = "Second Bless" 
end 
if getPlayerBlessing(cid, 3) then 
third = "Third Bless" 
end 
if getPlayerBlessing(cid, 4) then 
fourth = "Fourth Bless" 
end 
if getPlayerBlessing(cid, 5) then 
fifth = "Fifth Bless" 
end 

doPlayerPopupFYI(cid,"#Blessing Informations#\n\nMinhas Blessings:\n\n*"..first.."\n*"..second.."\n*"..third.."\n*"..fourth.."\n*"..fifth.."") 
return TRUE 
end

gudamataG
17 de outubro de 2010 às 21:22

Muito Obrigado!

 

Deu certinho..

 

xD

2 meses depois...
MaicondozeM
05 de dezembro de 2010 às 04:05

Aqui não pegou, é action? puiz

 

<action itemid="2649" script="other/blessvirification" />

 

(o id é um exemplo)