Hallo!
Php:
Error:
QUEST:37:syntax error : [string "start"]:15: unexpected symbol near `)'
Allerdings finde ich da nichts xD?
Php:
PHP Code:
quest ingameban begin
state start begin
when login with pc.is_gm() begin
send_letter("HALLO")
end
when button or info begin
say_title("Sharzun - BannPanel")
say("Hier kannst du folgende Dinge tun:")
say("")
say("- Einen Spieler Bannen")
say("- Einen Spieler Entbannen")
say("")
local a = select("Ban Player", "Unban player", "Exit")
if a == 1 then
say("Name of player who you wanna ban")
say("")
say("Info : Abusing GM power and you will be removed")
local cblock = input()
say("Reason:")
local creason = input()
game.set_event_flag("banned_".. cblock ..(),1)
notice_all("Player: ".. cblock .." is banned. reason: ".. creason.."")
notice_all("<ATTENTION>Play by the rules!!")
end
if a == 2 then
say("Insert name of player who will be unbanned")
local cublock = input()
game.set_event_flag("banned_".. culock ..(),0)
notice_all("Ban for player: ".. cublock .." was removed")
end
if a == 3 then
return
end
end
end
end
QUEST:37:syntax error : [string "start"]:15: unexpected symbol near `)'
Allerdings finde ich da nichts xD?