Player.Spawn
From GMod Wiki
Function | |
Syntax | Player:Spawn( ) |
Description: | |
Forces the player to spawn. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.Spawn]Player.Spawn [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Forces the player to spawn. |
---|---|
Used on | |
Code | concommand.Add("SpawnPlayer", function(ply) ply:Spawn() end) |
Output | N/A |
Arguments
- Spawns the player