Qvick help about car spawn [Idea need]
#1

Is it possible to change car REspawn coordinates , and keep same object id ?
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)