26.06.2009, 14:14
Код:
new RandomSpawn = random(1); if (RandomSpawn == 0) { InCar[playerid] = false; SetPlayerPos(playerid, x,y,z); SetPlayerFacingAngle(playerid, a); SetCameraBehindPlayer(playerid); }
copy and paste this part
Код:
if (RandomSpawn == 0) { InCar[playerid] = false; SetPlayerPos(playerid, x,y,z); SetPlayerFacingAngle(playerid, a); SetCameraBehindPlayer(playerid); }
change the If(randomSpawn == ) to the next integer or else it wont work
and when your dont dont forget to change this part
Код:
random(1);
yes it starts counting at 0
