19.09.2010, 12:38
Quote:
if(User[playerid][pLicense]==0) RemovePlayerFromVehicle(playerid),SendClientMessag e(playerid, COLOR_RED, "You do not have a license to operate this vehicle, Book a driving test at the front desk of the DMV"); |
Quote:
else if(User[playerid][pLicense]==3 && vehicle<=4) RemovePlayerFromVehicle(playerid),SendClientMessag e(playerid, COLOR_RED, "You are not authorized to drive this government vehicle"); |
Quote:
else if(User[playerid][pLicense]==1 && vehicle<=4) SetPlayerRaceCheckpoint(playerid,0, 1556.22, -1838.86, 13.55, 1567.05, -1862.33, 13.38, 3.0); |
Quote:
else if(User[playerid][pLicense]==1 && vehicle>4) RemovePlayerFromVehicle(playerid),SendClientMessag e(playerid, COLOR_RED, "You do not have a license to operate this vehicle, Book a driving test at the front desk of the DMV"); |
Quote:
"You do not have a license to operate this vehicle, Book a driving test at the front desk of the DMV") |
Quote:
else if(User[playerid][pLicense]==1 && vehicle<=4) { if(oldstate==PLAYER_STATE_DRIVER && newstate==PLAYER_STATE_ONFOOT) { User[playerid][pLicense]=0, DisablePlayerRaceCheckpoint(playerid); SendClientMessage(playerid, COLOR_RED, "You have exited the test car, you have failed"); SendClientMessage(playerid, COLOR_RED, "To take the test again re-book at the front desk of the DMV"); } } |