SA-MP Forums Archive
Problem with checkpoints - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Problem with checkpoints (/showthread.php?tid=649493)



Problem with checkpoints - enzulikeS - 09.02.2018

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?


Re: Problem with checkpoints - enzulikeS - 09.02.2018

wrong section sorry