Player.UnLock

From GMod Wiki

Revision as of 14:53, 10 August 2011 by TylerB (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Player:UnLock( )
Description:
Unlocks a player locked with Player:Lock().
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.UnLock]Player.UnLock [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis example will unlock all players.
Used onNewerServer.png
Code
local players = player.GetAll()
for _, player in pairs(players) do
   player:UnLock()
end
 
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox