20.07.2016, 19:49
PHP код:
new Float:randomSpawns_DayZSA_Part1[4][4] =
{
{2899.3059 ,-1624.4517 ,11.8779},
{2457.3726 ,-1666.8768 ,14.1584},
{2093.8362 ,-1773.7025 ,14.3506},
(2679.3730 ,-1540.8654 ,25.6224)
};
if(pInfo[playerid][pFirstSpawn] == 1)
{
new randSpawn = random(sizeof(randomSpawns_DayZSA_Part1));
SetPlayerPos_Allow(playerid,randomSpawns_DayZSA_Part1[randSpawn][0],randomSpawns_DayZSA_Part1[randSpawn][1],randomSpawns_DayZSA_Part1[randSpawn][2]);
Sometimes, it spawns me in that zone of Blueberry. I don't know why.
All of the coordonates seems to be working.