Guest User

Untitled

a guest
Feb 10th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. if(PlayerInfo[playerid][pCarLic] < 1)
  2. {
  3. if(IsABike(newcar) || IsAPlane(newcar) || GetVehicleModel(newcar) == 462) { }
  4. else
  5. {
  6. if(TakingLesson[playerid] == 1) { }
  7. {
  8. SetPlayerCheckpoint(playerid, 1219.0502,-1812.7823,16.5938,5.0);
  9. SendClientMessage(playerid,COLOR_YELLOW, "A checkpoint has been set to the driving school.");
  10. }
  11. else
  12. {
  13. SendClientMessage(playerid,COLOR_GREY, "You don't have a driving license.");
  14. RemovePlayerFromVehicle(playerid);
  15. TogglePlayerControllable(playerid, 1);
  16. SetTimerEx("UnFreezeStation", 500, 0, "i", playerid);
  17. }
  18. }
  19. }
Add Comment
Please, Sign In to add comment