Player.SetAllowFullRotation

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player.SetAllowFullRotation( Boolean Allow )
Description:
Sets whether the player model is allowed to fully rotate.
Returns: nil
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.SetAllowFullRotation]Player.SetAllowFullRotation [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Example

DescriptionEveryone is allowed to rotate fully.
Used onNewerServer.png
Code
for _, v in ipairs( player.GetAll() ) do
     v:SetAllowFullRotation( true )
end
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox