Vehicle spawn help
#4

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)).
Reply


Messages In This Thread
Vehicle spawn help - by Vasu99 - 28.02.2014, 16:07
Re: Vehicle spawn help - by Konstantinos - 28.02.2014, 16:10
Re: Vehicle spawn help - by Vasu99 - 28.02.2014, 16:23
Re: Vehicle spawn help - by Konstantinos - 28.02.2014, 16:29
Re: Vehicle spawn help - by Vasu99 - 28.02.2014, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)