Player.EquipSuit

From GMod Wiki

Revision as of 13:54, 10 June 2011 by (#>) Mwr247 (Mike) (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Player:EquipSuit( )
Description:
Gives the player an HEV Suit, which is what allows them to switch weapons, and see their health, armor, and current ammo.
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.EquipSuit]Player.EquipSuit [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionIf the player does not have an HEV Suit, the server will give him one.
Used onNewerServer.png
Code
function giveSuit( ply )
	ply:EquipSuit()
end
 
concommand.Add("givehev", giveSuit)
OutputThe user is given a HEV Suit on running "givehev" command.


Additional notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox