Player.SetFrags
From GMod Wiki
Revision as of 21:58, 17 September 2009 by Unrealomega (Talk | contribs)
Function | |
Syntax | Player:SetFrags( Integer Frags ) |
Description: | |
Set the player's frag count | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SetFrags]Player.SetFrags [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | This example will set the player's frags one higher than it is. |
---|---|
Used on | |
Code | player:SetFrags( player:Frags() + 1 ) |
Output | N/A |