Garry's Mod Wiki

Revision Difference

permissions.IsGranted#544087

<function name="IsGranted" parent="permissions" type="libraryfunc">⤶ <description>⤶ Returns whether the player has granted the current server a specific permission.⤶ </description>⤶ <added>2021.06.09</added>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="permission" type="string">The permission to poll. Currently only 1 permission is valid:⤶ * "connect"</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Whether the permission is granted or not.</ret>⤶ </rets>⤶ </function>