Register for your free account! | Forgot your password?

You last visited: Today at 02:01

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


Help Quest Random Yang

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
 
elite*gold: 238
Join Date: Sep 2009
Posts: 2,323
Received Thanks: 1,156
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



 
elite*gold: 30
The Black Market: 298/0/0
Join Date: Aug 2014
Posts: 7,432
Received Thanks: 1,918
hey,

please use the sticky threads
=> [SERVICE] Die Questkontrolle
=>[SERVICE] Die Questerstellung
Castiel' is offline  
Old 04/14/2016, 11:00   #4



 
elite*gold: 1
Join Date: Mar 2013
Posts: 12,506
Received Thanks: 2,557
^
#closed
Jinbei is offline  
Closed Thread



« 2011 client surakopf und Patcher | Quest: Levelgrenzen einfügen »

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 PServer - Discussions / Questions - 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 02:01.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.