PHP код:
if(gTeam[playerid] == TEAM_SURVIVANT)
{
if(GhostIsland == 1)
{
SetSpawnInfo(playerid, 2, 230, 768.1005,-3203.6111,11.3624, 342.5274, 4, 999999, 4, 0, 0, 0);
gTeam[playerid] = TEAM_ZOMBIE;
Team[playerid] = 2;
}
else if(DesertZombies == 1)
{
SetSpawnInfo(playerid, 2, 230, -315.9197,2681.9500,62.6241,255.9592, 4, 999999, 4, 0, 0, 0);
gTeam[playerid] = TEAM_ZOMBIE;
Team[playerid] = 2;
}
else if(FarmZombie == 1)
{
SetSpawnInfo(playerid, 2, 230, 169.3541,105.7299,3.8842,174.7663, 4, 999999, 4, 0, 0, 0);
gTeam[playerid] = TEAM_ZOMBIE;
Team[playerid] = 2;
}
return 1;
}
But it doesn't work..
.
He spawns as a survivor..