09.02.2018, 22:25
if(TakingLesson[playerid] == 1) { }
else {
SetPlayerCheckpoint(playerid, 1219.0502,-1812.7823,16.5938,5.0);
SendClientMessage(playerid,COLOR_YELLOW, "A checkpoint has been set to the driving school.");
SendClientMessage(playerid,COLOR_GREY, "You don't have a driving license.");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
SetTimerEx("UnFreezeStation", 500, 0, "i", playerid);
why this doesn't set a checkpoint to the DMV and return the message to the player after pressing F to a car without driving license?
else {
SetPlayerCheckpoint(playerid, 1219.0502,-1812.7823,16.5938,5.0);
SendClientMessage(playerid,COLOR_YELLOW, "A checkpoint has been set to the driving school.");
SendClientMessage(playerid,COLOR_GREY, "You don't have a driving license.");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
SetTimerEx("UnFreezeStation", 500, 0, "i", playerid);
why this doesn't set a checkpoint to the DMV and return the message to the player after pressing F to a car without driving license?