Player.Kill
From GMod Wiki
Function | |
Syntax | Player:Kill( ) |
Description: | |
Kills the player. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.Kill]Player.Kill [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Kills every player in the server. |
---|---|
Used on | |
Code | for k,v in pairs(player.GetAll()) do v:Kill() end |
Output | N/A |