Player.KillSilent

From GMod Wiki

Revision as of 19:53, 4 November 2009 by Dlaor (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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