#include <amxmodx>
#include <fakemeta>
#include <cstrike>
public respawn_player(id)
{
if (!is_user_connected(id) || is_user_alive(id) || cs_get_user_team(id) == CS_TEAM_SPECTATOR) return;
set_pev(id, pev_deadflag, DEAD_RESPAWNABLE)
dllfunc(DLLFunc_Think, id)
if (is_user_bot(id) && pev(id, pev_deadflag) == DEAD_RESPAWNABLE)
{
dllfunc(DLLFunc_Spawn, id)
}
}
Użytkownik kondzixd edytował ten post 06.10.2010 15:21


Dodatki SourceMod



Temat jest zamknięty









