Register for your free account! | Forgot your password?
Rust Cheats

You last visited: Today at 08:03

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

Advertisement



Lua Frage

Discussion on Lua Frage within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2011
Posts: 19
Received Thanks: 2
Lua Frage

Bekomme beim compilen einen komischen Fehler

haendlershops.quest:95:must start with 'quest'

Danke
JulianII is offline  
Old 06/19/2015, 17:49   #2
 
Zaturix's Avatar
 
elite*gold: 0
Join Date: Oct 2014
Posts: 408
Received Thanks: 208
poste bitte deine Quest.
Zaturix is offline  
Old 06/19/2015, 18:09   #3
 
elite*gold: 0
Join Date: Nov 2011
Posts: 19
Received Thanks: 2
PHP Code:
quest shops begin
state start begin
when 9002.chat
."Krieger-Rüsstungen" begin
say_title
("Rüsstungshändler:")
say("")
say("Möchtest du den Krieger-Shop öffnen?")
local s select("Ja""Nein")

if 
== 1 then
npc
.open_shop(52)
else
return
end
end 

when 9002.chat
."Ninja-Rüsstungen" begin
say_title
("Rüsstungshändler:")
say("")
say("Möchtest du den Ninja-Shop öffnen?")
local s select("Ja""Nein")

if 
== 1 then
npc
.open_shop(55)
else
return
end
end 

when 9002.chat
."Sura-Rüsstungen" begin
say_title
("Rüsstungshändler:")
say("")
say("Möchtest du den Sura-Shop öffnen?")
local s select("Ja""Nein")

if 
== 1 then
npc
.open_shop(54)
else
return
end
end

when 9002.chat
."Schamie-Rüsstungen" begin
say_title
("Rüsstungshändler:")
say("")
say("Möchtest du den Schamie-Shop öffnen?")
local s select("Ja""Nein")

if 
== 1 then
npc
.open_shop(53)
else
return
end
end

when 9002.chat
."Schmuck" begin
say_title
("Rüsstungshändler:")
say("")
say("Möchtest du den Schmuck-Shop öffnen?")
local s select("Ja""Nein")

if 
== 1 then
npc
.open_shop(6)
else
return
end
end

when 9002.chat
."Schuhe" begin
say_title
("Rüsstungshändler:")
say("")
say("Möchtest du den Schuh-Shop öffnen?")
local s select("Ja""Nein")

if 
== 1 then
npc
.open_shop(7)
else
return
end
end

when 9002.chat
."Helme und Schilder" begin
say_title
("Rüsstungshändler:")
say("")
say("Möchtest du den Ausrüsstungs-Shop öffnen?")
local s select("Ja""Nein")

if 
== 1 then
npc
.open_shop(88)
else
return
end
end
end
end
end 
JulianII is offline  
Old 06/19/2015, 18:20   #4
 
Zaturix's Avatar
 
elite*gold: 0
Join Date: Oct 2014
Posts: 408
Received Thanks: 208
PHP Code:
quest shops begin 
    state start begin 
        when 9002.chat
."Krieger-Rüsstungen" begin 
            say_title
("Rüsstungshändler:"
            
say(""
            
say("Möchtest du den Krieger-Shop öffnen?"
            
local s select("Ja""Nein"

            if 
== 1 then 
            npc
.open_shop(52
        else 
            return 
        
end 
    end  

when 9002.chat
."Ninja-Rüsstungen" begin 
say_title
("Rüsstungshändler:"
say(""
say("Möchtest du den Ninja-Shop öffnen?"
local s select("Ja""Nein"

if 
== 1 then 
npc
.open_shop(55
else 
return 
end 
end  

when 9002.chat
."Sura-Rüsstungen" begin 
say_title
("Rüsstungshändler:"
say(""
say("Möchtest du den Sura-Shop öffnen?"
local s select("Ja""Nein"

if 
== 1 then 
npc
.open_shop(54
else 
return 
end 
end 

when 9002.chat
."Schamie-Rüsstungen" begin 
say_title
("Rüsstungshändler:"
say(""
say("Möchtest du den Schamie-Shop öffnen?"
local s select("Ja""Nein"

if 
== 1 then 
npc
.open_shop(53
else 
return 
end 
end 

when 9002.chat
."Schmuck" begin 
say_title
("Rüsstungshändler:"
say(""
say("Möchtest du den Schmuck-Shop öffnen?"
local s select("Ja""Nein"

if 
== 1 then 
npc
.open_shop(6
else 
return 
end 
end 

when 9002.chat
."Schuhe" begin 
say_title
("Rüsstungshändler:"
say(""
say("Möchtest du den Schuh-Shop öffnen?"
local s select("Ja""Nein"

if 
== 1 then 
npc
.open_shop(7
else 
return 
end 
end 

when 9002.chat
."Helme und Schilder" begin 
say_title
("Rüsstungshändler:"
say(""
say("Möchtest du den Ausrüsstungs-Shop öffnen?"
local s select("Ja""Nein"

if 
== 1 then 
npc
.open_shop(88
else 
return 
end 
end 
end 
end 
versuch es mal so
Zaturix is offline  
Thanks
1 User
Old 06/19/2015, 18:28   #5
 
elite*gold: 0
Join Date: Nov 2011
Posts: 19
Received Thanks: 2
Alles klar danke hat geklappt
JulianII is offline  
Thanks
1 User
Old 06/19/2015, 20:25   #6
wild wild son




 
Nick's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 5,996
Received Thanks: 3,391
->

Künftig bitte das Sammelthema nutzen, dafür ist dieses schließlich vorgesehen. (closerequested)

lg
Nick is offline  
Old 06/19/2015, 21:09   #7


 
Nectix's Avatar
 
elite*gold: 26
The Black Market: 135/0/0
Join Date: Apr 2012
Posts: 23,017
Received Thanks: 3,061
#closed
Nectix is offline  
Closed Thread




All times are GMT +1. The time now is 08:05.


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

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