Skip to content

dronelektron/player-respawn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Player respawn

Allows you to respawn the player

Supported Games

  • Day of Defeat: Source

Requirements

Installation

  • Download latest release
  • Extract gamedata, plugins and translations folders to addons/sourcemod folder of your server

Console Commands

  • sm_respawn <#userid|name> - Respawn the player

API

Respawn the client in any case (forceRespawn is set to true), or only the dead one

Returns true if the player has been respawned, and false otherwise

native bool RespawnPlayer(int client, bool forceRespawn = true);