Player.CrosshairEnable

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:CrosshairEnable( )
Description:
Show the players crosshair.
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.CrosshairEnable]Player.CrosshairEnable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

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


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox