SA-MP Forums Archive
new Float:checkCoords[MAX_POINTS][4] = { - 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: new Float:checkCoords[MAX_POINTS][4] = { (/showthread.php?tid=395146)



new Float:checkCoords[MAX_POINTS][4] = { - Patrick - 25.11.2012

Hello guyz its my first time to make this kind of checkpoint coords becuase i am used to use DynamicCP on streamer

can anyone help me convert this? + rep
pawn Код:
new Float:checkCoords[MAX_POINTS][4] = {
{Coords here},//CathayCasinoRobbery - Edited Map
{Coords here},//BarbersRobbery - Edited Map
{Coords here},//TatoosRobbery - Edited Map
and this is my saved coords

pawn Код:
AddPlayerClass(266,2144.1643,1639.9208,993.5761,28.9719,0,0,0,0,0,0); // For First one
AddPlayerClass(266,412.4297,-17.8465,1001.8047,344.0198,0,0,0,0,0,0); // For 2nd one
AddPlayerClass(266,-204.4400,-26.4540,1002.2734,0.0000,0,0,0,0,0,0); //  For 3rd one
thanks to those who help me


AW: new Float:checkCoords[MAX_POINTS][4] = { - Skimmer - 25.11.2012

Like this?
pawn Код:
// Top of the script
new Float:checkCoords[MAX_POINTS][4] = {
    {2144.1643,1639.9208,993.5761},
    {412.4297,-17.8465,1001.8047},
    {-204.4400,-26.4540,1002.2734}
};

// Below OnGameModeInit
for(new x = 0; x < sizeof(checkCoords); x++)
{
    CreateDynamicCP(checkCoords[x][0], checkCoords[x][1], checkCoords[x][2], 3.0);
}