SA-MP Forums Archive
Help with checkpoint please! - 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: Help with checkpoint please! (/showthread.php?tid=555534)



Help with checkpoint please! - TheSnicky - 08.01.2015

for(new k = 0; k < sizeof(KucaInfo); k++)
{
new kFile[80];
format(kFile, sizeof(kFile), KUCE_FILE, k);
if(fexist(kFile))
if(IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo[k][kUlazX], KucaInfo[k][kUlazY], KucaInfo[k][kUlazZ]))
{
SetPlayerCheckpoint(playerid, KucaInfo[k][kUlazX], KucaInfo[k][kUlazY], KucaInfo[k][kUlazZ], 2.0);
}

}
So I did a house system with red checkpoint, but when I move away from the house the Checkpoint stays there, any solution please?


Re: Help with checkpoint please! - Glossy42O - 08.01.2015

https://sampwiki.blast.hk/wiki/DisablePlayerCheckpoint


Re: Help with checkpoint please! - TheSnicky - 08.01.2015

Well I don't want to disable it when I enter it, I want it to disable when you move away from the house doors, I already tried this..


Re: Help with checkpoint please! - TheSnicky - 08.01.2015

Please someone help