To be born in the hospital ?
#1

So, I wanted to know how to do when the player dies when he is born in a "hospital", for example: when a player logs he will be born a cordenada "X", and when he dies he will be born a cordenada "X" , but when he relogar instead of spawn in the "hospital" that is the cordenada "X", he will be born normally in the spawn ... if someone can help me
Reply
#2

PHP код:
new boolDeath[MAX_PLAYERS];
OnplayerDeath
Death
[playerid] = true;
OnplayerSpawn
if(Death[playerid]) 
{
    
SetPlayerPos(playeridhospitalx ,,z);
    
Death[playerid] = false;

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)