10.07.2015, 17:48
Try this one :
One top of your scripts :
What are these coords ?
X = -1496.3367
Y = 904.7078
Z = 7.1875
A = 90.4882
After that, Under OnPlayerSpawn, Add this :
Hope this is useful.
KillerDVX,
One top of your scripts :
PHP код:
new Float:SpawnPoints[2][4] =
{
{-1496.3367,904.7078,7.1875,90.4882}
};
X = -1496.3367
Y = 904.7078
Z = 7.1875
A = 90.4882
After that, Under OnPlayerSpawn, Add this :
PHP код:
new rnd = random(sizeof(SpawnPoints));
SetPlayerPos(playerid,SpawnPoints[rnd][0],SpawnPoints[rnd][1],SpawnPoints[rnd][2]);
SetPlayerFacingAngle(playerid,SpawnPoints[rnd][3]);
KillerDVX,