how to make the car dissapear and not respawn after 2 minutes ?
#1

I have something like this:

Код HTML:
	    if(response)
	    {
	        switch(listitem)
	        {
				case 0:
				{
	      			GetPlayerFacingAngle(playerid, angle);
	         		GetPlayerPos(playerid, x, y, z);
					national_veh1 = CreateVehicle(481, x, y, z, angle, 144, 145, 120, 0);
					PutPlayerInVehicle(playerid,national_veh1,0);
					i[playerid] = 1;
					reset1(playerid);
					return 1;
				}
As you can see,

Код HTML:
national_veh1 = CreateVehicle(481, x, y, z, angle, 144, 145, 120, 0);
This will spawn me a vehicle.
If it has no driver/passager for 2 minutes it will respawn.

The problem is that it's respawning in the place you can request the vehicle, and not dissapearing from the map.

How can I make it DISSAPEAR and not RESPAWN ?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)