Garry's Mod Wiki

permissions.IsGranted

permissions.IsGranted

  boolean permissions.IsGranted( string permission )

Description

Returns whether the player has granted the current server a specific permission.

Arguments

1 string permission
The permission to poll. Currently only 1 permission is valid:

  • "connect"

Returns

1 boolean
Whether the permission is granted or not.

Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 43
Generate Html 2
SaveChanges (1) 7
Render Body 0
Render Sidebar 7