Help Please
#2

It doesn't work like that. You need to set one checkpoint at the time.
pawn Код:
public OnPlayerEnterRaceCheckpoint(playerid)
{
        if(IsPlayerInRangeOfPoint(playerid,10,Event1[0][0],Event1[0][1],Event1[0][2]))
        SetPlayerRaceCheckpoint(playerid,0,Event1[0][3],Event1[0][4],Event1[0][5],Event1[1][0],Event1[1][1],Event1[1][2],6);
       
        else if(IsPlayerInRangeOfPoint(playerid,10,Event1[0][3],Event1[0][4],Event1[0][5]))
        SetPlayerRaceCheckpoint(playerid,0,Event1[1][0],Event1[1][1],Event1[1][2],Event1[1][3],Event1[1][4],Event1[1][5],6);
   
        else if(IsPlayerInRangeOfPoint(playerid,10,Event1[1][0],Event1[1][1],Event1[1][2]))
        SetPlayerRaceCheckpoint(playerid,0,Event1[1][3],Event1[1][4],Event1[1][5],Event1[2][0],Event1[2][1],Event1[2][2],6);
...
       return 1;
}
Reply


Messages In This Thread
Help Please - by astanalol00 - 11.10.2014, 17:20
Re: Help Please - by dominik523 - 11.10.2014, 17:48
Re: Help Please - by astanalol00 - 11.10.2014, 17:59
Re: Help Please - by astanalol00 - 11.10.2014, 19:15
Re: Help Please - by IceBilizard - 11.10.2014, 19:18
Re: Help Please - by astanalol00 - 11.10.2014, 19:45
Re: Help Please - by astanalol00 - 11.10.2014, 21:42
Re: Help Please - by astanalol00 - 12.10.2014, 01:10
Re: Help Please - by astanalol00 - 12.10.2014, 12:12
Re: Help Please - by astanalol00 - 12.10.2014, 22:53

Forum Jump:


Users browsing this thread: 1 Guest(s)