Checkpoints, can someone pls explain something?...
#1

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!!
Reply


Messages In This Thread
Checkpoints, can someone pls explain something?... - by MidoBan - 20.01.2008, 10:49
Re: Checkpoints, can someone pls explain something?... - by Jim_Johny - 06.03.2008, 18:08
Re: Checkpoints, can someone pls explain something?... - by [AC]Flow - 19.06.2010, 12:32
Re: Checkpoints, can someone pls explain something?... - by ViruZZzZ_ChiLLL - 19.06.2010, 12:35

Forum Jump:


Users browsing this thread: 1 Guest(s)