Garry's Mod Wiki

RequestPermission

  RequestPermission( string permission )

Description

This is used internally - although you're able to use it you probably shouldn't.

Opens a confirmation window to grant the requested permission.

permission_request.png

Arguments

1 string permission
The permission to ask