Player.EquipSuit

From GMod Wiki

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