11.05.2015, 23:11
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); }