Quote:
Originally Posted by CalvinC
Do it in OnPlayerSpawn, here's an example:
pawn Код:
new bool:HospitalSpawn[MAX_PLAYERS]; public OnPlayerDeath(playerid, killerid, reason) { HospitalSpawn[playerid] = true; }
public OnPlayerSpawn(playerid) { if(HospitalSpawn[playerid]) { HospitalSpawn[playerid] = false; SetPlayerPos(playerid, x, y, z); } else { // Your other SetPlayerPos code } }
|
Thanks a lot for your help