28.02.2014, 16:29
Vehicle[playerid] = CreateVehicle(car, X, Y, Z + 2.0, 0, -1, -1, 1);
Parameters: modelid, x, y, z, angle, color1, color2, respawn_delay
As you can see, you set the respawn_delay to 1. That means that it will respawn the vehicle (to the coordinates it was first created) after 1 second (after exiting the vehicle). Use -1 instead if you don't want to respawn the vehicles after exiting them or make it higher (for example, every minute (60)).
Parameters: modelid, x, y, z, angle, color1, color2, respawn_delay
As you can see, you set the respawn_delay to 1. That means that it will respawn the vehicle (to the coordinates it was first created) after 1 second (after exiting the vehicle). Use -1 instead if you don't want to respawn the vehicles after exiting them or make it higher (for example, every minute (60)).