DM spawn after death
#4

I think that if player death its called this onplayerspawn so you should make it

or try this

Код:
new death[MAX_PLAYERS]; // up

onplayerconnect()
{
death[playerid] = 0;
}

onplayerdeath(..)
{
death[playerid] = 1;
}

onplayerspawn(..)
{
if(death[playerid] = 1) SetPlayerPos(playerid, MinigunRandom[mR][0], MinigunRandom[mR][1], MinigunRandom[mR][2]);
}
Reply


Messages In This Thread
DM spawn after death - by martoivanov - 20.06.2013, 16:45
Re: DM spawn after death - by dEcooR - 20.06.2013, 16:47
Re: DM spawn after death - by martoivanov - 20.06.2013, 16:48
Re: DM spawn after death - by dEcooR - 20.06.2013, 16:50
Re: DM spawn after death - by martoivanov - 20.06.2013, 16:52
Re: DM spawn after death - by Niko_boy - 20.06.2013, 16:54
Re: DM spawn after death - by dEcooR - 20.06.2013, 16:56
Re: DM spawn after death - by martoivanov - 20.06.2013, 17:08
Re: DM spawn after death - by dEcooR - 20.06.2013, 17:56
Re: DM spawn after death - by martoivanov - 21.06.2013, 10:43

Forum Jump:


Users browsing this thread: 1 Guest(s)