create a variable[33], increase it when you respawn the player then add a if state to check if the player was respawned 3 times or not. new kekw[33] public RespawnPlayer(id) { if(kekw[id] <= 3) { //add the code to respawn your player kekw[id]++ } }
create a variable[33], increase it when you respawn the player then add a if state to check if the player was respawned 3 times or not. new kekw[33] public RespawnPlayer(id) { if(kekw[id] <= 3) { //add the code to respawn your player kekw[id]++ } }
is the code right? public RespawnPlayer(id) { if(r3[id] <= 3) { set_pev(id, pev_deadflag, DEAD_RESPAWNABLE) r3[id]++ } }