09.03.2019, 10:30
This is at the OnPlayerExitVehcile callback and it works perfectly,but this is for the bike dmv,and if during the exam i press F to exit the vehicle i fail the exam,but if i hit something and i get thrown off the bike,i can get back up on it,the callback isn't called,it's like i didn't exit the vehicle,what can i do >>
if(vehicleid == BikeCars[0]){
DisablePlayerRaceCheckpoint(playerid);
BikeCP[playerid] = 0;
DestroyVehicle(vehicleid);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Fail:You left the exam car");
}
if(vehicleid == BikeCars[0]){
DisablePlayerRaceCheckpoint(playerid);
BikeCP[playerid] = 0;
DestroyVehicle(vehicleid);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Fail:You left the exam car");
}