13.07.2012, 13:35
Yeah i tried that and it worked good but is there a way I can make it only work for when you exit the trucks?
this would be the if statement:
Where would I check this?
and the timers are:
KillTimer(TruckTimer[playerid]);
KillTimer(TrailerTimer[playerid]);
this would be the if statement:
Код:
if(GetPlayerVehicleID(playerid) == JobInfo[JOB_TRUCKER][jCars][0] || GetPlayerVehicleID(playerid) == JobInfo[JOB_TRUCKER][jCars][1] || GetPlayerVehicleID(playerid) == JobInfo[JOB_TRUCKER][jCars][2] || GetPlayerVehicleID(playerid) == JobInfo[JOB_TRUCKER][jCars][3] || GetPlayerVehicleID(playerid) == JobInfo[JOB_TRUCKER][jCars][4])
and the timers are:
KillTimer(TruckTimer[playerid]);
KillTimer(TrailerTimer[playerid]);