Player.Spawn

From GMod Wiki

Revision as of 16:27, 31 August 2011 by TheFreeman193 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Player:Spawn( )
Description:
Forces the player to spawn.
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.Spawn]Player.Spawn [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionForces the player to spawn.
Used onNewerServer.png
Code
concommand.Add("SpawnPlayer", function(ply)
    ply:Spawn()
end)
OutputN/A


Arguments

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox