Player.SetDeaths

From GMod Wiki

Revision as of 18:59, 17 September 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Player:SetDeaths( Integer deaths )
Description:
Set the player's death count
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.SetDeaths]Player.SetDeaths [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionThis example will set the player's deaths to 0
Used onNewerServer.png
Code
player:SetDeaths ( 0 )
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox