Car Respawn[rep]
#8

pawn Код:
new died[MAX_PLAYERS];

public OnPlayerDeath(playerid,killerid,reason)
{
    died[playerid] =1;
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if(died[playerid] == 1)
    {
        SetPlayerPos(playerid,...);//hospital coords...
        died[playerid]=0;
    }
    return 1;
}
Reply


Messages In This Thread
Car Respawn[rep] - by Dan_Barocu - 09.03.2012, 14:44
Re: Car Respawn[rep] - by Kingunit - 09.03.2012, 14:46
Re: Car Respawn[rep] - by Dan_Barocu - 09.03.2012, 17:06
Re: Car Respawn[rep] - by Dan_Barocu - 11.03.2012, 00:42
AW: Car Respawn[rep] - by Nero_3D - 11.03.2012, 01:03
Re: Car Respawn[rep] - by eesh - 11.03.2012, 03:10
Re: Car Respawn[rep] - by Dan_Barocu - 11.03.2012, 14:30
Re: Car Respawn[rep] - by eesh - 11.03.2012, 15:10
Re: Car Respawn[rep] - by Dan_Barocu - 11.03.2012, 15:13

Forum Jump:


Users browsing this thread: 3 Guest(s)