Exit CP no work
#1

pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{  
    if(GetPVarInt(playerid, "SpawnCPEnt") == 0)
    {
        if(checkpointid == EnterCP[0]) //Police Station
        {
            SetPlayerPos(playerid, 246.3730, 107.4074, 1003.2188);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 1);
            SetPlayerInterior(playerid, 10);
        }
        if(checkpointid == EnterCP[1]) //Burger Shot
        {
            SetPlayerPos(playerid, 362.9184, -75.0641, 1001.5078);
            SetPlayerFacingAngle(playerid, 300);
            SetPlayerVirtualWorld(playerid, 2);
            SetPlayerInterior(playerid, 10);
        }
        if(checkpointid == EnterCP[2]) // Burger Shot 2
        {
            SetPlayerPos(playerid, 362.9184, -75.0641, 1001.5078);
            SetPlayerFacingAngle(playerid, 300);
            SetPlayerVirtualWorld(playerid, 3);
            SetPlayerInterior(playerid, 10);
        }
        if(checkpointid == EnterCP[3]) // Binco
        {
            SetPlayerPos(playerid, 207.6518, -111.0957, 1005.1328);
            SetPlayerFacingAngle(playerid, 0);
            SetPlayerVirtualWorld(playerid, 4);
            SetPlayerInterior(playerid, 15);
        }
        if(checkpointid == EnterCP[4]) // Ammunation
        {
            SetPlayerPos(playerid, 315.7531, -143.5571, 999.6016);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 5);
            SetPlayerInterior(playerid, 7);
        }
        if(checkpointid == EnterCP[5]) // Cluckin Bell
        {
            SetPlayerPos(playerid, 364.8997, -11.6554, 1001.8516);
            SetPlayerFacingAngle(playerid, 0);
            SetPlayerVirtualWorld(playerid, 6);
            SetPlayerInterior(playerid, 9);
        }
        if(checkpointid == EnterCP[6]) // Cluckin Bell 2
        {
            SetPlayerPos(playerid, 364.8997, -11.6554, 1001.8516);
            SetPlayerFacingAngle(playerid, 0);
            SetPlayerVirtualWorld(playerid, 7);
            SetPlayerInterior(playerid, 9);
        }
        if(checkpointid == EnterCP[7]) // Gaydar Station
        {
            SetPlayerPos(playerid, 493.3999, -24.7701, 1000.6797);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 8);
            SetPlayerInterior(playerid, 17);
        }
        if(checkpointid == EnterCP[8]) // Barber
        {
            SetPlayerPos(playerid, 411.6806, -23.0564, 1001.8047);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 9);
            SetPlayerInterior(playerid, 2);
        }
        if(checkpointid == EnterCP[9]) // City Hall
        {
            SetPlayerPos(playerid, 390.6600, 173.8129, 1008.3828);
            SetPlayerFacingAngle(playerid, 90);
            SetPlayerVirtualWorld(playerid, 10);
            SetPlayerInterior(playerid, 3);
        }
        if(checkpointid == EnterCP[10]) // ZeroRc
        {
            SetPlayerPos(playerid, -2240.6758, 137.2377, 1035.4141);
            SetPlayerFacingAngle(playerid, 270);
            SetPlayerVirtualWorld(playerid, 11);
            SetPlayerInterior(playerid, 6);
        }
        if(checkpointid == EnterCP[11]) // Well Stacked Pizza
        {
            SetPlayerPos(playerid, 372.3318, -133.4147, 1001.4922);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 12);
            SetPlayerInterior(playerid, 5);
        }
        if(checkpointid == EnterCP[12]) // Well Stacked Pizza 2
        {
            SetPlayerPos(playerid, 372.3318, -133.4147, 1001.4922);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 13);
            SetPlayerInterior(playerid, 5);
        }
        if(checkpointid == EnterCP[13]) // VICTIM
        {
            SetPlayerPos(playerid, 227.3801, -8.1722, 1002.2109);
            SetPlayerFacingAngle(playerid, 90);
            SetPlayerVirtualWorld(playerid, 14);
            SetPlayerInterior(playerid, 5);
        }
        if(checkpointid == EnterCP[14]) // Jizzy
        {
            SetPlayerPos(playerid, -2636.6631, 1402.5719, 906.4609);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 15);
            SetPlayerInterior(playerid, 3);
        }
        if(checkpointid == EnterCP[15]) // Driving School
        {
            SetPlayerPos(playerid, -2026.9321, -103.7145, 1035.1719);
            SetPlayerFacingAngle(playerid, 180);
            SetPlayerVirtualWorld(playerid, 16);
            SetPlayerInterior(playerid, 3);
        }
        if(checkpointid == EnterCP[16]) // ZIP
        {
            SetPlayerPos(playerid, 161.4019, -96.9971, 1001.8047);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 17);
            SetPlayerInterior(playerid, 3);
        }
        if(checkpointid == EnterCP[17]) // SubUrban
        {
            SetPlayerPos(playerid, 203.7745, -50.5548, 1001.8047);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 18);
            SetPlayerInterior(playerid, 1);
        }
        if(checkpointid == EnterCP[18]) // Tatto
        {
            SetPlayerPos(playerid, -204.4139, -27.2394, 1002.2734);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 19);
            SetPlayerInterior(playerid, 16);
        }
        TogglePlayerControllable(playerid, 0);
        defer LoadingObjects(playerid);
        SetPVarInt(playerid, "SpawnCPExit", 1);
        return 1;
    }
   
    if(GetPVarInt(playerid, "SpawnCPExit") == 0)
    {
        if(checkpointid == ExitCP[0]) //Police Station
        {
            SetPlayerPos(playerid, -1605.5535, 710.3806, 13.8672);
            SetPlayerFacingAngle(playerid, 0);
        }
        if(checkpointid == ExitCP[1]) //Burger Shot
        {
            SetPlayerPos(playerid, -2336.7583, -166.8280, 35.5547);
            SetPlayerFacingAngle(playerid, 280);
        }
        if(checkpointid == ExitCP[2]) // Burger Shot 2
        {
            SetPlayerPos(playerid, -2355.9790, 1008.1232, 50.8984);
            SetPlayerFacingAngle(playerid, 90);
        }
        if(checkpointid == ExitCP[3]) // Binco
        {
            SetPlayerPos(playerid, -2373.9497, 910.1934, 45.4410);
            SetPlayerFacingAngle(playerid, 90);
        }
        if(checkpointid == ExitCP[4]) // Ammunation
        {
            SetPlayerPos(playerid, -2626.5779, 208.3730, 4.8125);
            SetPlayerFacingAngle(playerid, 360);
        }
        if(checkpointid == ExitCP[5]) // Cluckin Bell
        {
            SetPlayerPos(playerid, -2672.2637, 258.0989, 4.6328);
            SetPlayerFacingAngle(playerid, 360);
        }
        if(checkpointid == ExitCP[6]) // Cluckin Bell 2
        {
            SetPlayerPos(playerid, -1816.5900, 618.5768, 35.1719);
            SetPlayerFacingAngle(playerid, 0);
        }
        if(checkpointid == ExitCP[7]) // Gaydar Station
        {
            SetPlayerPos(playerid, -2550.8701, 193.8433, 6.2266);
            SetPlayerFacingAngle(playerid, 106);
        }
        if(checkpointid == ExitCP[8]) // Barber
        {
            SetPlayerPos(playerid, -2571.2703, 246.7128, 10.4038);
            SetPlayerFacingAngle(playerid, 218);
        }
        if(checkpointid == ExitCP[9]) // City Hall
        {
            SetPlayerPos(playerid, -2766.4431, 375.5729, 6.3347);
            SetPlayerFacingAngle(playerid, 280);
        }
        if(checkpointid == ExitCP[10]) // ZeroRc
        {
            SetPlayerPos(playerid, -2241.9275, 128.5464, 35.3203);
            SetPlayerFacingAngle(playerid, 90);
        }
        if(checkpointid == ExitCP[11]) // Well Stacked Pizza
        {
            SetPlayerPos(playerid, -1721.0553, 1359.7397, 7.1853);
            SetPlayerFacingAngle(playerid, 95);
        }
        if(checkpointid == ExitCP[12]) // Well Stacked Pizza 2
        {
            SetPlayerPos(playerid, -1808.6270, 945.8515, 24.8906);
            SetPlayerFacingAngle(playerid, 230);
        }
        if(checkpointid == ExitCP[13]) // VICTIM
        {
            SetPlayerPos(playerid, -1694.2618, 951.1631, 24.8906);
            SetPlayerFacingAngle(playerid, 216);
        }
        if(checkpointid == ExitCP[14]) // Jizzy
        {
            SendClientMessage(playerid, -1,"hola");
            SetPlayerPos(playerid, -2624.5825, 1412.6460, 7.0938);
            SetPlayerFacingAngle(playerid, 207);
        }
        if(checkpointid == ExitCP[15]) // Driving School
        {
            SetPlayerPos(playerid, -2026.6057, -101.9551, 35.1641);
            SetPlayerFacingAngle(playerid, 360);
        }
        if(checkpointid == ExitCP[16]) // ZIP
        {
            SetPlayerPos(playerid, -1882.3286, 866.4216, 35.1719);
            SetPlayerFacingAngle(playerid, 138);
        }
        if(checkpointid == ExitCP[17]) // SubUrban
        {
            SetPlayerPos(playerid, -2489.9604, -29.0982, 25.6172);
            SetPlayerFacingAngle(playerid, 90);
        }
        if(checkpointid == ExitCP[18]) // Tatto
        {
            SetPlayerPos(playerid, -2491.1072, -38.8546, 25.6172);
            SetPlayerFacingAngle(playerid, 90);
        }
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
        SetPVarInt(playerid, "SpawnCPEnt", 1);
        TogglePlayerControllable(playerid, 0);
        defer LoadingObjects(playerid);
        return 1;
    }

   
    return 1;
}

public OnPlayerLeaveDynamicCP(playerid, checkpointid)
{
    for (new i; i < MAX_STORE; ++i)
    {
        if(checkpointid == EnterCP[i]) SetPVarInt(playerid, "SpawnCPEnt", 0);
        if(checkpointid == ExitCP[i]) SetPVarInt(playerid, "SpawnCPExit", 0);
       
    }
    return 1;
}
Exit Checkpoint no work :c, the cp enter work 100%
Reply
#2

you are setting vars to 1
and in your statements ( if ) you are checking if it's 0
Reply
#3

Quote:
Originally Posted by amirab
Посмотреть сообщение
you are setting vars to 1
and in your statements ( if ) you are checking if it's 0
...

you do not see that changing the variable to 0 when leaving the checkpoint
Reply
#4

SMALL BUMP
Reply
#5

Nvm my mistake
Reply
#6

BUMP!!
Reply
#7

I've added a debug to show you the current var, tell me what does it outputs.
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
    new string[128];
    format(string, sizeof(string), "SpawnCPEnt=%d|SpawnCPExit=%d", GetPVarInt(playerid, "SpawnCPEnt"), GetPVarInt(playerid, "SpawnCPExit"));
    SendClientMessage(playerid, -1, string);
   
    if(GetPVarInt(playerid, "SpawnCPEnt") == 0)
    {
        if(checkpointid == EnterCP[0]) //Police Station
        {
            SetPlayerPos(playerid, 246.3730, 107.4074, 1003.2188);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 1);
            SetPlayerInterior(playerid, 10);
        }
        if(checkpointid == EnterCP[1]) //Burger Shot
        {
            SetPlayerPos(playerid, 362.9184, -75.0641, 1001.5078);
            SetPlayerFacingAngle(playerid, 300);
            SetPlayerVirtualWorld(playerid, 2);
            SetPlayerInterior(playerid, 10);
        }
        if(checkpointid == EnterCP[2]) // Burger Shot 2
        {
            SetPlayerPos(playerid, 362.9184, -75.0641, 1001.5078);
            SetPlayerFacingAngle(playerid, 300);
            SetPlayerVirtualWorld(playerid, 3);
            SetPlayerInterior(playerid, 10);
        }
        if(checkpointid == EnterCP[3]) // Binco
        {
            SetPlayerPos(playerid, 207.6518, -111.0957, 1005.1328);
            SetPlayerFacingAngle(playerid, 0);
            SetPlayerVirtualWorld(playerid, 4);
            SetPlayerInterior(playerid, 15);
        }
        if(checkpointid == EnterCP[4]) // Ammunation
        {
            SetPlayerPos(playerid, 315.7531, -143.5571, 999.6016);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 5);
            SetPlayerInterior(playerid, 7);
        }
        if(checkpointid == EnterCP[5]) // Cluckin Bell
        {
            SetPlayerPos(playerid, 364.8997, -11.6554, 1001.8516);
            SetPlayerFacingAngle(playerid, 0);
            SetPlayerVirtualWorld(playerid, 6);
            SetPlayerInterior(playerid, 9);
        }
        if(checkpointid == EnterCP[6]) // Cluckin Bell 2
        {
            SetPlayerPos(playerid, 364.8997, -11.6554, 1001.8516);
            SetPlayerFacingAngle(playerid, 0);
            SetPlayerVirtualWorld(playerid, 7);
            SetPlayerInterior(playerid, 9);
        }
        if(checkpointid == EnterCP[7]) // Gaydar Station
        {
            SetPlayerPos(playerid, 493.3999, -24.7701, 1000.6797);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 8);
            SetPlayerInterior(playerid, 17);
        }
        if(checkpointid == EnterCP[8]) // Barber
        {
            SetPlayerPos(playerid, 411.6806, -23.0564, 1001.8047);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 9);
            SetPlayerInterior(playerid, 2);
        }
        if(checkpointid == EnterCP[9]) // City Hall
        {
            SetPlayerPos(playerid, 390.6600, 173.8129, 1008.3828);
            SetPlayerFacingAngle(playerid, 90);
            SetPlayerVirtualWorld(playerid, 10);
            SetPlayerInterior(playerid, 3);
        }
        if(checkpointid == EnterCP[10]) // ZeroRc
        {
            SetPlayerPos(playerid, -2240.6758, 137.2377, 1035.4141);
            SetPlayerFacingAngle(playerid, 270);
            SetPlayerVirtualWorld(playerid, 11);
            SetPlayerInterior(playerid, 6);
        }
        if(checkpointid == EnterCP[11]) // Well Stacked Pizza
        {
            SetPlayerPos(playerid, 372.3318, -133.4147, 1001.4922);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 12);
            SetPlayerInterior(playerid, 5);
        }
        if(checkpointid == EnterCP[12]) // Well Stacked Pizza 2
        {
            SetPlayerPos(playerid, 372.3318, -133.4147, 1001.4922);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 13);
            SetPlayerInterior(playerid, 5);
        }
        if(checkpointid == EnterCP[13]) // VICTIM
        {
            SetPlayerPos(playerid, 227.3801, -8.1722, 1002.2109);
            SetPlayerFacingAngle(playerid, 90);
            SetPlayerVirtualWorld(playerid, 14);
            SetPlayerInterior(playerid, 5);
        }
        if(checkpointid == EnterCP[14]) // Jizzy
        {
            SetPlayerPos(playerid, -2636.6631, 1402.5719, 906.4609);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 15);
            SetPlayerInterior(playerid, 3);
        }
        if(checkpointid == EnterCP[15]) // Driving School
        {
            SetPlayerPos(playerid, -2026.9321, -103.7145, 1035.1719);
            SetPlayerFacingAngle(playerid, 180);
            SetPlayerVirtualWorld(playerid, 16);
            SetPlayerInterior(playerid, 3);
        }
        if(checkpointid == EnterCP[16]) // ZIP
        {
            SetPlayerPos(playerid, 161.4019, -96.9971, 1001.8047);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 17);
            SetPlayerInterior(playerid, 3);
        }
        if(checkpointid == EnterCP[17]) // SubUrban
        {
            SetPlayerPos(playerid, 203.7745, -50.5548, 1001.8047);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 18);
            SetPlayerInterior(playerid, 1);
        }
        if(checkpointid == EnterCP[18]) // Tatto
        {
            SetPlayerPos(playerid, -204.4139, -27.2394, 1002.2734);
            SetPlayerFacingAngle(playerid, 360);
            SetPlayerVirtualWorld(playerid, 19);
            SetPlayerInterior(playerid, 16);
        }
        TogglePlayerControllable(playerid, 0);
        defer LoadingObjects(playerid);
        SetPVarInt(playerid, "SpawnCPExit", 1);
        return 1;
    }

    if(GetPVarInt(playerid, "SpawnCPExit") == 0)
    {
        if(checkpointid == ExitCP[0]) //Police Station
        {
            SetPlayerPos(playerid, -1605.5535, 710.3806, 13.8672);
            SetPlayerFacingAngle(playerid, 0);
        }
        if(checkpointid == ExitCP[1]) //Burger Shot
        {
            SetPlayerPos(playerid, -2336.7583, -166.8280, 35.5547);
            SetPlayerFacingAngle(playerid, 280);
        }
        if(checkpointid == ExitCP[2]) // Burger Shot 2
        {
            SetPlayerPos(playerid, -2355.9790, 1008.1232, 50.8984);
            SetPlayerFacingAngle(playerid, 90);
        }
        if(checkpointid == ExitCP[3]) // Binco
        {
            SetPlayerPos(playerid, -2373.9497, 910.1934, 45.4410);
            SetPlayerFacingAngle(playerid, 90);
        }
        if(checkpointid == ExitCP[4]) // Ammunation
        {
            SetPlayerPos(playerid, -2626.5779, 208.3730, 4.8125);
            SetPlayerFacingAngle(playerid, 360);
        }
        if(checkpointid == ExitCP[5]) // Cluckin Bell
        {
            SetPlayerPos(playerid, -2672.2637, 258.0989, 4.6328);
            SetPlayerFacingAngle(playerid, 360);
        }
        if(checkpointid == ExitCP[6]) // Cluckin Bell 2
        {
            SetPlayerPos(playerid, -1816.5900, 618.5768, 35.1719);
            SetPlayerFacingAngle(playerid, 0);
        }
        if(checkpointid == ExitCP[7]) // Gaydar Station
        {
            SetPlayerPos(playerid, -2550.8701, 193.8433, 6.2266);
            SetPlayerFacingAngle(playerid, 106);
        }
        if(checkpointid == ExitCP[8]) // Barber
        {
            SetPlayerPos(playerid, -2571.2703, 246.7128, 10.4038);
            SetPlayerFacingAngle(playerid, 218);
        }
        if(checkpointid == ExitCP[9]) // City Hall
        {
            SetPlayerPos(playerid, -2766.4431, 375.5729, 6.3347);
            SetPlayerFacingAngle(playerid, 280);
        }
        if(checkpointid == ExitCP[10]) // ZeroRc
        {
            SetPlayerPos(playerid, -2241.9275, 128.5464, 35.3203);
            SetPlayerFacingAngle(playerid, 90);
        }
        if(checkpointid == ExitCP[11]) // Well Stacked Pizza
        {
            SetPlayerPos(playerid, -1721.0553, 1359.7397, 7.1853);
            SetPlayerFacingAngle(playerid, 95);
        }
        if(checkpointid == ExitCP[12]) // Well Stacked Pizza 2
        {
            SetPlayerPos(playerid, -1808.6270, 945.8515, 24.8906);
            SetPlayerFacingAngle(playerid, 230);
        }
        if(checkpointid == ExitCP[13]) // VICTIM
        {
            SetPlayerPos(playerid, -1694.2618, 951.1631, 24.8906);
            SetPlayerFacingAngle(playerid, 216);
        }
        if(checkpointid == ExitCP[14]) // Jizzy
        {
            SendClientMessage(playerid, -1,"hola");
            SetPlayerPos(playerid, -2624.5825, 1412.6460, 7.0938);
            SetPlayerFacingAngle(playerid, 207);
        }
        if(checkpointid == ExitCP[15]) // Driving School
        {
            SetPlayerPos(playerid, -2026.6057, -101.9551, 35.1641);
            SetPlayerFacingAngle(playerid, 360);
        }
        if(checkpointid == ExitCP[16]) // ZIP
        {
            SetPlayerPos(playerid, -1882.3286, 866.4216, 35.1719);
            SetPlayerFacingAngle(playerid, 138);
        }
        if(checkpointid == ExitCP[17]) // SubUrban
        {
            SetPlayerPos(playerid, -2489.9604, -29.0982, 25.6172);
            SetPlayerFacingAngle(playerid, 90);
        }
        if(checkpointid == ExitCP[18]) // Tatto
        {
            SetPlayerPos(playerid, -2491.1072, -38.8546, 25.6172);
            SetPlayerFacingAngle(playerid, 90);
        }
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
        SetPVarInt(playerid, "SpawnCPEnt", 1);
        TogglePlayerControllable(playerid, 0);
        defer LoadingObjects(playerid);
        return 1;
    }


    return 1;
}

public OnPlayerLeaveDynamicCP(playerid, checkpointid)
{
    for (new i; i < MAX_STORE; ++i)
    {
        if(checkpointid == EnterCP[i]) SetPVarInt(playerid, "SpawnCPEnt", 0);
        if(checkpointid == ExitCP[i]) SetPVarInt(playerid, "SpawnCPExit", 0);
    }
    return 1;
}
Reply
#8

In enter CP vars in: SpawnCPEnt = 0, SpawnCPExit = 1
And exit Exit CP vars change to 0: SpawnCPEnt, SpawnCPExit = 0
Reply
#9

I don't understand how your function works, but does that seem to be okay ?

Also note that if you didn't set a pvar it outputs 0, I suggest using a global variable instead of pvars.
Reply
#10

In my old gm, which was as follows:

pawn Код:
if(checkpointid == SkinSEnt)
    {
        if(SpawnCP[playerid] == 0)
        {
            if(!IsPlayerInAnyVehicle(playerid))
            {
                SetPlayerInterior(playerid, 3);
                SetPlayerVirtualWorld(playerid, 45);
                SetPlayerPos(playerid, 207.0771, -140.1690, 1003.5078);
                SetPlayerFacingAngle(playerid, 360);
                SetCameraBehindPlayer(playerid);
                CargarObjetos(playerid);
                SpawnCP2[playerid] = 1;
            }
        return 1;
        }
    }
    else if(checkpointid == SkinSExit)
    {
        if(SpawnCP2[playerid] == 0)
        {
        SetPlayerInterior(playerid,0);
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerPos(playerid, -1980.7328, 93.5556, 27.6875);
        SetPlayerFacingAngle(playerid, 85);
        SetCameraBehindPlayer(playerid);
        CargarObjetos(playerid);
        SpawnCP[playerid] = 1;
        return 1;
        }
    }
And onplayerleavedynamiccp

pawn Код:
if(checkpointid == SkinSEnt)
    {
        SpawnCP[playerid] = 0;
        return 1;
    }

    if(checkpointid == SkinSExit)
    {
        SpawnCP2[playerid] = 0;
        return 1;
    }
only now, better want my code to do less lines

the function of this is that it can appear inside the checkpoint without being teleported again, not having to set the coordinates to go outside the checkpoint

sorry for my english
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)