Player.AddFrags
From GMod Wiki
Revision as of 22:28, 8 December 2010 by Crazy Quebecer (Talk | contribs)
| Function | |
| Syntax | Player:AddFrags( Integer Frags ) |
| Description: | |
| Increases the number of frags by a specified number. | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.AddFrags]Player.AddFrags [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Add 10 Frags to the player with the index 1. |
|---|---|
| Used on | |
| Code | player.GetAll(1):AddFrags(10) |
| Output | None |