02.09.2018, 07:47
hi all, i am new on this forum , i need a f script , i want to when players got off the car , their cars engine turn off can anyone help me with that ?
-srry for my bad english
-srry for my bad english
public OnPlayerExitVehicle(playerid, vehicleid)
{
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid,0,0,0,0,0,0,0);
return 1;
}