Discussione [AIUTO]Script.

Stato
Discussione chiusa ad ulteriori risposte.

Nogard00

Utente Jade
20 Novembre 2009
1,930
149
171
716
Codice:
say_title ( "Contrabbandiere di Medaglie" )
say ( "Ciao, vuoi avere una medaglia equitazione?" ) 
say_item ( "Medaglia Equitazione" , 50050 , "" )
say ( "Per comprarla devi avere 35kk." ) 
say ( "Procedi?" ) 
say ( "" )
local b = select ( "Si" , "Sono povero..." ) 
if 1 == b then 
if pc . gold >= 35000000
say ( "Ecco a te! Fanne buon uso..." ) 
pc . changemoney ( -35000000 )
end 
elseif 2 == b then 
return
end


Questo script è giusto? Me lo correggete? Grazie...
 
PHP:
say_title ( "Contrabbandiere di Medaglie" )
say ( "Ciao, vuoi avere una medaglia equitazione?" ) 
say_item ( "Medaglia Equitazione" , 50050 , "" )
say ( "Per comprarla devi avere 35kk." ) 
say ( "Procedi?" ) 
say ( "" )
local b = select ( "Si" , "Sono povero..." ) 
if 1 == b then
say ( "Ecco a Te, Fanne Buon Uso" )
if pc . gold >= 35000000
pc.changegold(35000000)
pc.give_item2(50050, 1)
end 
elseif 2 == b then 
return
end
prova
 
PHP:
say_title ( "Contrabbandiere di Medaglie" )
say ( "Ciao, vuoi avere una medaglia equitazione?" ) 
say_item ( "Medaglia Equitazione" , 50050 , "" )
say ( "Per comprarla devi avere 35kk." ) 
say ( "Procedi?" ) 
say ( "" )
local b = select ( "Si" , "Sono povero..." ) 
if 1 == b then
say ( "Ecco a Te, Fanne Buon Uso" )
if pc . gold >= 35000000
pc.changegold(-35000000)
pc.give_item2(50050, 1)
end 
elseif 2 == b then 
return
end
scs x il tempo
 
say_title ("Contrabbandiere di Medaglie")
say ("Ciao")
say ("Vuoi comprare una medaglia equitazione?")
local b = select ("Si" , "Sono povero..")
if b == 1 then
if pc . gold >= 35000000
say ("Ecco a te!")
pc . give_item (value medaglia , 1)
pc . changegold ( -35000000 )
say ("Fanne buon uso !")
end
elseif b == 1 then
return
end










----



Con questo non và <.<
 
say_title ("Contrabbandiere di Medaglie")
say ("Ciao")
say ("Vuoi comprare una medaglia equitazione?")
local b = select ("Si" , "Sono povero..")
if b == 1 then
if pc . gold >= 35000000
say ("Ecco a te!")
pc . give_item (value medaglia , 1)
pc . changegold ( -35000000 )
say ("Fanne buon uso !")
end
elseif b == 1 then
return
end










----



Con questo non và <.<

l'ho corretto io nell'altra discussione di DarkVendett, diceva di avertelo corretto ma era pieno di errori :\

http://www.inforge.net/community/metin2-howto-addon-server-privati/172617-script-stefanothehacker-e-vipteam.html
 
PHP:
say_title ("Contrabbandiere di Medaglie")
say ("Ciao")
say ("Vuoi comprare una medaglia equitazione?")
local b = select ("Si" , "Sono povero..")
if b == 1 then
if pc . gold >= 35000000
say ("Ecco a te!")
pc . give_item (value medaglia , 1)
pc . changegold ( -35000000 )
say ("Fanne buon uso !")
else
say ("Non hai abbastanza soldi")
return
end
elseif b == 2 then return end

Testa.
 
Stato
Discussione chiusa ad ulteriori risposte.