Player.DetonateTripmines
From GMod Wiki
Function | |
Syntax | Player:DetonateTripmines( ) |
Description: | |
Detonates all tripmines belonging to a player as if he/she was using attack2 with the tripmines selected. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.DetonateTripmines]Player.DetonateTripmines [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Detonates all player's tripmines. |
---|---|
Used on | |
Code | for _, v in ipairs( player.GetAll() ) do v:DetonateTripmines() end |
Output | N/A |