Checkpoint "Help" - 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: Checkpoint "Help" (
/showthread.php?tid=403427)
Checkpoint "Help" - Patrick - 30.12.2012
Hello guys, i've been figure out how to make like kind of this checkpoint, but the thing is i dont understand, can anyone give me a example or anylink for the tutorial please? thank you
pawn Код:
#define MAX_POINTS 44
new Float:checkCoords[MAX_POINTS][4] = {
{},
{}
new Float:checkpoints[MAX_POINTS][4] = {
{},
{}
new checkpointType[MAX_POINTS] = {
{},
{}
Re: Checkpoint "Help" -
Threshold - 30.12.2012
Make sure you're closing it by using };
Just like when using enums, it should look something like this:
pawn Код:
new Float:checkCoords[MAX_POINTS][4] = {
{100.44, 172.17, -162.17224, 180},
{79.26, -592.16, 16.2, 48.97}
};
Re: Checkpoint "Help" - Patrick - 30.12.2012
Quote:
Originally Posted by BenzoAMG
Make sure you're closing it by using };
Just like when using enums, it should look something like this:
pawn Код:
new Float:checkCoords[MAX_POINTS][4] = { {100.44, 172.17, -162.17224, 180}, {79.26, -592.16, 16.2, 48.97} };
|
i know what's the difference between,
new Float:checkpoints[MAX_POINTS][4] = { because its confusing me