summaryrefslogtreecommitdiff
path: root/npc/functions/permissions.txt
blob: 99094bb4391b7d171ade2449c15c352dee0f1be4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// TMW2 scripts.
// Author:
//    Jesusalva
// Description:
//    Checks player GM levels

function	script	is_gm	{
    return (getgmlevel() >= 80);
}

function	script	is_admin	{
    return (getgmlevel() >= 99);
}

function	script	is_staff	{
    return (getgmlevel() >= 5);
}