SA-MP Forums Archive
Checkpoints, can someone pls explain something?... - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Checkpoints, can someone pls explain something?... (/showthread.php?tid=22991)



Checkpoints, can someone pls explain something?... - MidoBan - 20.01.2008

I really need to create some checkpoints for a weapon shop and stuff like that, and use the OnPlayerEnterCheckpoint and OnPlayerLeaveCheckpoint commands.

So someone gave me a script.. but I wanna write my own and I couldn’t understand something..
I’ve searched through the script and i couldn't find the exact place where the checkpoints are created!!
How come there isn't any create checkpoint or something in the script??
I’m sorry if this question is too general but I gotta know this..
Here r the parts of the script where I think the checkpoint r created, but I don’t understand it.

Quote:

new Float:checkCoords[MAX_POINTS][4] = {
{-36.5483,-57.9948, -17.2655,-49.2967}, //BANK
{1894.6128,1445.3431, 2084.9739,1637.8186}, //LV_PIRATE
{1526.1332,-1370.5281,1558.4066,-1346.3019}, //LS_SKYSCARPER
{-2020.2151,593.7877,-1882.4504,745.5773}, //SF_ZOMBOTECH
};

Quote:

new Float:checkpoints[MAX_POINTS][3] = {
{-22.2549,-55.6575,1003.5469},
{2000.3132,1538.6012,13.5859},
{1544.3478, -1356.1665, 329.469},
{-1951.9886,686.6917,46.5625},
};

Quote:

new checkpointType[MAX_POINTS] = {
CP_BANK,
CP_PIRATE,
CP_SKYSCARPER,
CP_ZOMBOTECH,
};

Where in those quotes is the place where checkpoints are created??!
Thank u!!



Re: Checkpoints, can someone pls explain something?... - Jim_Johny - 06.03.2008

Hi, i can give you some coords of checkpoints, but tools, im looking for them 2


Re: Checkpoints, can someone pls explain something?... - [AC]Flow - 19.06.2010

plz tell me how u get the right cords for Float:checkCoords[MAX_POINTS][4] = { ??


Re: Checkpoints, can someone pls explain something?... - ViruZZzZ_ChiLLL - 19.06.2010

Quote:
Originally Posted by [AC
Flow ]
plz tell me how u get the right cords for Float:checkCoords[MAX_POINTS][4] = { ??
lolwtf? Now your bumping a 2 years old topic -.-
Please just make a topic and ask. Instead of spamming
old topics.