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.
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