CharSetCustomSpawn command
Command defined in plugin/commands/sh_charsetcustomspawn.lua
Part of Custom Spawn
Registers the admin command /CharSetCustomSpawn of the Custom Spawn plugin, which sets the target character's
custom spawn point to the target's current position on the current map.
Summary
Methods
OnRun(player, arguments)shared
Sets the target character's custom spawn point to the target's current position on this map.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/cwhl2rp/plugins/customspawn/plugin/commands/sh_charsetcustomspawn.lua:14Sets the target character's custom spawn point to the target's current position on this map.
The saved angles are the eye angles of the player running the command, not the target's.
Parameters
- player
- arguments