[HELP] player get wrong cp
#1

Hello everyone. So I have variable StreetRace and I have command /a4021 - with this I assing to some player left track and variable StreetRace to 1 and /a4022 with this I assign right track to some player and setting him variable StreetRace to 2. Know's the problem when I run timer for race /start402 I have timer 4021 4022 and in 4023 I have a code which you can see under this text. The problem is cps are sets but the player who get streetrace variable 1 he see cp for streetrace2 variable and player who is streetrace2 he don't see any cp? Why is that? Thanks

pawn Код:
if(PlayerInfo[i][StreetRace] == 1)
        {
            DisablePlayerCheckpoint(i);
            SetPlayerCheckpoint(i,1551.6914,-2501.4941,13.5547,8.0); //cp for left side
            PlayerInfo[i][StreetRace] = 3;
        }
        if(PlayerInfo[i][StreetRace] == 2)
        {
            DisablePlayerCheckpoint(i);
            SetPlayerCheckpoint(i,1551.6914,-2486.2825,13.5547,8.0); //cp for right side
            PlayerInfo[i][StreetRace] = 4;
        }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)