Spawn help
#1

Hi guys,

I wanted to make when a survivor's dead, he spawns as a zombie :

PHP код:
if(gTeam[playerid] == TEAM_SURVIVANT)
    {
        if(
GhostIsland == 1)
        {
           
SetSpawnInfo(playerid2230768.1005,-3203.6111,11.3624342.527449999994000);
           
gTeam[playerid] = TEAM_ZOMBIE;
           
Team[playerid] = 2;
        }
        else if(
DesertZombies == 1)
        {
           
SetSpawnInfo(playerid2230, -315.9197,2681.9500,62.6241,255.959249999994000);
           
gTeam[playerid] = TEAM_ZOMBIE;
           
Team[playerid] = 2;
        }
        else if(
FarmZombie == 1)
        {
           
SetSpawnInfo(playerid2230169.3541,105.7299,3.8842,174.766349999994000);
           
gTeam[playerid] = TEAM_ZOMBIE;
           
Team[playerid] = 2;
        }
        return 
1;
        } 
But it doesn't work..
.
He spawns as a survivor..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)