Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 14:39

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help Quest Random Yang

Discussion on Help Quest Random Yang within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 2
Received Thanks: 0
Help Quest Random Yang

hi community,

i have a problem with my quest.

Quote:
quest ProvaT begin
state start begin
when 30193.use begin
addimage(20, 12, "reign.tga")
say("")
say("")
say("")
say("")
say("")
say("")
say("")
say("Un Forziere Perduto da dei Pirati nel lontano 800")
say("Pensi di essere cosi' coraggioso da aprirlo?")
local a = select("Si", "No")
if a == 2 then
end
elseif a == 1 then
elseif number( 1 , 100 ) >= 80 then
pc.changegold(10000)
chat("Hai trovato nel Forziere 10.000 Yang")
end
elseif number( 1 , 100 ) >= 50 then
pc.changegold(100000)
chat("Hai trovato nel Forziere 100.000 Yang")
end
elseif number( 1 , 100 ) <= 20 then
pc.changegold(1000000)
chat("Hai trovato nel Forziere 1.000.000 Yang")
notice_all(""..pc.get_name().." Ha trovato nel Forziere 1.000.000 Yang")
return
end
end
end
end
end
when i say on putty ./qc ..... found this error:




can anyone help me? thanks all!!
ionel1 is offline  
Old 04/12/2016, 15:04   #2
 
mrapc's Avatar
 
elite*gold: 238
Join Date: Sep 2009
Posts: 2,327
Received Thanks: 1,164
Code:
if a == 2 then
end
elseif a == 1 then
elseif number( 1 , 100 ) >= 80 then
pc.changegold(10000)
chat("Hai trovato nel Forziere 10.000 Yang")
end
make:
Code:
if a == 2 then
   -- exit if you want to leave here
elseif a == 1 then
   --never used?!
elseif number( 1 , 100 ) >= 80 then
pc.changegold(10000)
chat("Hai trovato nel Forziere 10.000 Yang")
end
more information about how to use if/else/elseif:
mrapc is offline  
Old 04/13/2016, 15:07   #3



 
Castiel''s Avatar
 
elite*gold: 22
The Black Market: 325/0/0
Join Date: Aug 2014
Posts: 8,211
Received Thanks: 2,494
hey,

please use the sticky threads
=>
=>
Castiel' is offline  
Old 04/14/2016, 11:00   #4

 
Jinbei's Avatar
 
elite*gold: 101
Join Date: Mar 2013
Posts: 13,365
Received Thanks: 2,746
^
#closed
Jinbei is offline  
Closed Thread


Similar Threads Similar Threads
[Released] Monster legends (Random Gold) (Random Food) (Random Exp)
02/03/2015 - Facebook - 6 Replies
Monster legends New Tools !! *1 - Random Gold *2 - Random Food *3 - Random Exp All Tested And Working 100% Without Any Problem :handsdown: !!! Link
[Release] Monster legends (Random Gold) (Random Food) (Random Exp)
02/03/2015 - Dragon City - 5 Replies
Monster legends New Tools !! *1 - Random Gold *2 - Random Food *3 - Random Exp All Tested And Working 100% Without Any Problem :handsdown: !!! Link
Random Numbers and Characters in quest?
04/04/2012 - Metin2 Private Server - 0 Replies
Hi guys, how to random numbers and characters in quest? any codes? (or ideas) Thanks for response. :handsdown: thanks, i found... #closerequest



All times are GMT +2. The time now is 14:39.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.