SA-MP Forums Archive
Respawn IN DM - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Respawn IN DM (/showthread.php?tid=249215)



Respawn IN DM - IvancheBG - 17.04.2011

How to respawn in dm when somebody kill me!


Re: Respawn IN DM - Stigg - 17.04.2011

pawn Код:
new IsInDeathMatch[MAX_PLAYERS];
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(IsInDeathMatch[playerid] == 1)
    {
        //spawn back to dm
    }
    return 1;
}



Re: Respawn IN DM - IvancheBG - 17.04.2011

thanks


Re: Respawn IN DM - Stigg - 17.04.2011

Quote:
Originally Posted by IvancheBG
Посмотреть сообщение
thanks
No prob's m8'y.