Player.Deaths
From GMod Wiki
Revision as of 18:56, 17 September 2009 by Crazy Quebecer (Talk | contribs)
Function | |
Syntax | Player:Deaths( ) |
Description: | |
Retrieves the number of times the player has died | |
Returns: | Integer |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.Deaths]Player.Deaths [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | This will print your amount of deaths when run. |
---|---|
Used on | |
Code | print( LocalPlayer():Deaths() ) |
Output | N/A |