11.02.2014, 16:23
Something like this?
pawn Код:
enum TDefinedCars
{
Model,
Float:SpawnX,
Float:SpawnY,
Float:SpawnZ
}
new DefinedCars[20][TDefinedCars] =
{
{562, 100.0, 100.0, 5.0},
{418, 150.0, 258.1, 7.8},
...
{519, -130.5, 179.8, 11.4}
}
new Cars[20];
for (new i; i < 20: i++)
Cars[i] = CreateVehicle(DefinedCars[i][Model], DefinedCars[i][SpawnX], DefinedCars[i][SpawnY], DefinedCars[i][SpawnZ], 0.0, 0, 0, 60);