Posts: 330
Threads: 65
Joined: Apr 2012
Reputation:
0
Is it possible to change car REspawn coordinates , and keep same object id ?
Posts: 218
Threads: 22
Joined: Jul 2010
Yes it is possible.
new Float:gRandomCarSpawns[2][4] = {
{0.0,0.0,0.0,0.0}, // SPAWN1
{0.0,0.0,0.0,0.0}, // SPAWN1
};
new rand = random(sizeof(gRandomCarSpawns));
CreateVehicle(560,gRandomCarSpawns[rand][0], gRandomCarSpawns[rand][1], gRandomCarSpawns[rand][2],gRandomCarSpawns[rand][3],0,0,1000);
etc etc etc