Player.KillSilent

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:KillSilent( )
Description:
Kills the player without leaving behind a sound or a ragdoll.
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.KillSilent]Player.KillSilent [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionKills all players in the map silently.
Used onNewerServer.png
Code
for k,v in pairs(player.GetAll()) do
	v:KillSilent()
end
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox