SA-MP Forums Archive
Can repeat job at payday, checkpoint bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can repeat job at payday, checkpoint bug (/showthread.php?tid=502886)



Can repeat job at payday, checkpoint bug - xPr0BaNx - 26.03.2014

Hello to all
How can I make this happen:
if you have already done the job can not redo until you get the payday (I have already the script of the payday and the job)
My second problem is that I created a job where you must follow checkpoints. After the first checkpoint coordinates are placed in an area that I did not put myself and I can not continue the job.
(here code)
Код:
 if(IsPlayerInRangeOfPoint(playerid,5.0, 21.2977,914.4423,24.4594))
            {
                SetPlayerCheckpoint(playerid, 5.0, -52.7469,948.4641,19.6105);
			}
			else if(IsPlayerInRangeOfPoint(playerid,5.0, -52.7469,948.4641,19.6105))
Sorry for my bad english