Player.CrosshairDisable

From GMod Wiki

Revision as of 15:35, 9 May 2010 by Willox303 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Player:CrosshairDisable( )
Description:
Hide the players crosshair.
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.CrosshairDisable]Player.CrosshairDisable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionDisables the crosshair of every player in the server.
Used onNewerServer.png
Code
for k,v in pairs(player.GetAll()) do
	v:CrosshairDisable()
end
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox