Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- timer examtimerr[1000](playerid) {
- if(examCP[playerid] > 0) {
- format(szSmallString, 56, "~w~CHECKPOINTS: %d/10~n~time left: %s", examCP[playerid]-1, calculateTime(dmvtime[playerid]));
- PlayerTextDrawSetString(playerid, DMV, szSmallString);
- PlayerTextDrawShow(playerid, DMV);
- }
- if(dmvtime[playerid] > 0) dmvtime[playerid] --;
- else if(dmvtime[playerid] == 0) {
- dmvtime[playerid] = -1;
- examCP[playerid] = 0, playerExam[playerid] = false, DestroyVehicle(playerExamCar[playerid]), playerExamCar[playerid] = 0;
- SS(playerid, COLOR_LIGHTRED, "(Driving School): {FFFFFF}You failed the driving test.", "(Driving School): {FFFFFF}Ai picat testul de condus.");
- PlayerTextDrawHide(playerid, DMV), PlayerTextDrawHide(playerid, DMV2), DisableRemoteVehicleCollisions(playerid, 0);
- DisablePlayerRaceCheckpoint(playerid);
- }
- if(examCP[playerid] == 0) stop examtimerrr[playerid];
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement