13.07.2012, 04:39
I apreciate the reply guys! Could I ask for a quick example? The truck types are 403, but they have:
JobInfo[JOB_TRUCKER][jCars][0] through to [4] before them. The trailers are the same but type 435:
JobInfo[JOB_TRUCKER][jTrailers][0]
Could I put:
if(IsTruckerVehicle(vehicleid))
{
SetTimerEx("YOUR_FUNCTION_NAME",1000,true,"i",play erid);
}
on exit:
if(IsTruckerVehicle(vehicleid))
{
KillTimer(YOUR_FUNCTION_NAME);
}
Im quite new to this so i may suck. I also need an explanation on function name? Is that whatever I want? Thanks so much
JobInfo[JOB_TRUCKER][jCars][0] through to [4] before them. The trailers are the same but type 435:
JobInfo[JOB_TRUCKER][jTrailers][0]
Could I put:
if(IsTruckerVehicle(vehicleid))
{
SetTimerEx("YOUR_FUNCTION_NAME",1000,true,"i",play erid);
}
on exit:
if(IsTruckerVehicle(vehicleid))
{
KillTimer(YOUR_FUNCTION_NAME);
}
Im quite new to this so i may suck. I also need an explanation on function name? Is that whatever I want? Thanks so much