new Float:checkCoords[MAX_POINTS][4] = {
#1

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
Reply
#2

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);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)