Player.GodEnable

From GMod Wiki

Revision as of 19:25, 17 September 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Player:GodEnable( )
Description:
Enable GodMode on a Player.
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.GodEnable]Player.GodEnable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis will enable godmode on you.
Used onNewerServer.png
Code
function EnableGod( ply )
	ply:GodEnable()
end
 
concommand.Add("Godenable", EnableGod)
 
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox