NPC Update
This commit is contained in:
parent
c934632a35
commit
cf9080a68c
@ -5,13 +5,12 @@
|
||||
#
|
||||
#--------------------------------------------------
|
||||
|
||||
on rightclick on entity:
|
||||
if clicked entity is a citizen:
|
||||
if player's world is "lobby":
|
||||
if name of clicked entity is "Robotti825":
|
||||
if player doesn't have the permission "group.jasen":
|
||||
message "&7[&r%name of clicked entity%&7]&r Annoin sinulle jäsenroolin, muistathan käyttäytyä!" to player
|
||||
if player doesn't have the permission "group.aikainenjasen":
|
||||
make console execute command "/lp user %player's name% group add jasen"
|
||||
else:
|
||||
message "&7[&r%name of clicked entity%&7]&r Olet jo jäsen" to player
|
||||
on npc click:
|
||||
if player's world is "lobby":
|
||||
if npc's name is "Robotti825":
|
||||
if player doesn't have the permission "group.jasen":
|
||||
message "&7[&r%npc's name%&7]&r Annoin sinulle jäsenroolin, muistathan käyttäytyä!" to player
|
||||
if player doesn't have the permission "group.aikainenjasen":
|
||||
make console execute command "/lp user %player's name% group add jasen"
|
||||
else:
|
||||
message "&7[&r%npc's name%&7]&r Olet jo jäsen" to player
|
||||
|
Loading…
Reference in New Issue
Block a user