20.06.2013, 16:50
I think that if player death its called this onplayerspawn so you should make it
or try this
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]);
}
