summaryrefslogtreecommitdiff
path: root/npc/functions/permissions.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-07 15:49:54 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-07 15:49:54 -0300
commita8b094d38f6ed5a553f6954691d4683131d58844 (patch)
tree238917d3a2e2d8d167fc89749420858c970bfd3f /npc/functions/permissions.txt
parent8bca302d1cde31093bb30894d66d0f62b3f2ceda (diff)
downloadserverdata-a8b094d38f6ed5a553f6954691d4683131d58844.tar.gz
serverdata-a8b094d38f6ed5a553f6954691d4683131d58844.tar.bz2
serverdata-a8b094d38f6ed5a553f6954691d4683131d58844.tar.xz
serverdata-a8b094d38f6ed5a553f6954691d4683131d58844.zip
Update permissions for new GM levels
Diffstat (limited to 'npc/functions/permissions.txt')
-rw-r--r--npc/functions/permissions.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/permissions.txt b/npc/functions/permissions.txt
index 99094bb43..eaedcce92 100644
--- a/npc/functions/permissions.txt
+++ b/npc/functions/permissions.txt
@@ -5,6 +5,10 @@
// Checks player GM levels
function script is_gm {
+ return (getgmlevel() >= 60);
+}
+
+function script is_master {
return (getgmlevel() >= 80);
}