PHP Code:
public RespawnPlayer( id ) {
if( !gUserAlive[ id ] && ( cs_get_user_team( id ) == CS_TEAM_T || cs_get_user_team( id ) == CS_TEAM_CT ) ) {
set_pev( id, pev_deadflag, DEAD_RESPAWNABLE );
dllfunc( DLLFunc_Think, id );
}
}
Using this stock, i respawn players, but respaning on linux servers it just crushes server..
Tested on 4 different linux servers - all crush, tested on 5 windows servers - all fine...
Edit: i dont want to use Ham for some reasons...
__________________