Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(PlayerInfo[playerid][pCarLic] < 1)
- {
- if(IsABike(newcar) || IsAPlane(newcar) || GetVehicleModel(newcar) == 462) { }
- else
- {
- if(TakingLesson[playerid] == 1) { }
- {
- SetPlayerCheckpoint(playerid, 1219.0502,-1812.7823,16.5938,5.0);
- SendClientMessage(playerid,COLOR_YELLOW, "A checkpoint has been set to the driving school.");
- }
- else
- {
- SendClientMessage(playerid,COLOR_GREY, "You don't have a driving license.");
- RemovePlayerFromVehicle(playerid);
- TogglePlayerControllable(playerid, 1);
- SetTimerEx("UnFreezeStation", 500, 0, "i", playerid);
- }
- }
- }
Add Comment
Please, Sign In to add comment