Garry's Mod Wiki

Revision Difference

Global.RequestPermission#561036

<function name="RequestPermission" parent="Global" type="libraryfunc"> <description> <internal></internal> Opens a confirmation window to grant the requested permission. <image src="https://i.imgur.com/jq5emwh.png"/>⤶ <upload src="ab571/8dc3890f84fb468.png" size="17108" name="permission_request.png" />⤶ </description> <realm>Menu</realm> <file line="275-L279">lua/menu/openurl.lua</file> <args> <arg name="permission" type="string">The permission to ask</arg> </args> </function>