Vehicle Spawn Params
#1

Why when i spawn the vehicle i just got i spawns it with started engine and other shits when i declined them with value 0 ?

Код:
	if(response) // If they clicked 'Select' or double-clicked a weapon.
        {
			
			new spawncar;
			spawncar = CreateVehicle(Player[playerid][EnteredVehModel], 1636.0250, -1138.2653, 23.7379, 181.6751, 13, 13, -1);
			LinkVehicleToInterior(spawncar, GetPlayerInterior(playerid));
			new engine, lights, alarm, doors, bonnet, boot, objective;
			SetVehicleParamsEx(Player[playerid][EnteredVehID], engine, lights, alarm, doors, bonnet, boot, objective);
			PutPlayerInVehicle(playerid, spawncar, 0);
		}
Reply


Messages In This Thread
Vehicle Spawn Params - by Zloto - 11.05.2015, 23:11
Re: Vehicle Spawn Params - by Crayder - 11.05.2015, 23:26
Re: Vehicle Spawn Params - by Zloto - 11.05.2015, 23:47

Forum Jump:


Users browsing this thread: 1 Guest(s)