Does anyone know how to add permission to this NPC,I want it to work only if you are a GM / PM.
I've tried (Client.Permission < 3) but It doesn't work.
Code:
def npc(Client, Option):
if(Option == 0):
Text("I Can Send You To The GM Map Only If You Are A GM / PM")
Link("Sure!", 1)
Link("Nope!", 255)
Finish()
if(Option == 1):
Teleport(32, 33, 1098, Client)
return 0
well that would be UNDER 3 (so 1 or 2 meaning normal player)
Should be....
Code:
def npc(Client, Option):
if(Option == 0):
Text("I Can Send You To The GM Map Only If You Are A GM / PM")
Link("Sure!", 1)
Link("Nope!", 255)
Finish()
if(Option == 1 and Client.Permission > 2):
Teleport(32, 33, 1098, Client)
return 0
well that would be UNDER 3 (so 1 or 2 meaning normal player)
Should be....
Code:
def npc(Client, Option):
if(Option == 0):
Text("I Can Send You To The GM Map Only If You Are A GM / PM")
Link("Sure!", 1)
Link("Nope!", 255)
Finish()
if(Option == 1 and Client.Permission > 2):
Teleport(32, 33, 1098, Client)
return 0
Shopping mall is just a normal shop. Keep in mind right now NOTHING related to shops are checked (IE: check the price from shop.dat and that it exists before selling. Right now it just reads from the packet which is.. bullshit)
Permission set for Enter MAP 01/19/2011 - EO PServer Hosting - 5 Replies Hello,
I would like to set for a certain map access rights.
I know I can define a level set lower or higher than, ep, pp or gold demand.
How it looks with set Potency or Pets in * would go, too?
Example: For enter the Map u must have level 255 and 2x 250* pets.
permission denied 02/06/2010 - Metin2 Private Server - 6 Replies Hallu ._.
Wenn ich einem verzeichniss chmod 777 geben will dann kommt das:
Gruß,
-Sky.
Permission Denied. 12/10/2009 - Metin2 Private Server - 9 Replies Wenn ich "make.sh" ausführen möchte,
erscheint mitlerweile bei jeder neuen Quest
Permission Denied. Allgemein meine Quests
InGame sind weg o.o
Warum?