11.08.2016, 06:37
PHP код:
for(new i;i<MAX_PLAYERS;i++)
{
if(Player_CheckPoint[playerid] == 0)
{
SetPlayerRaceCheckpoint(playerid,1,CheckPoints[0][0],CheckPoints[0][1],CheckPoints[0][2],CheckPoints[1][0],CheckPoints[1][1],CheckPoints[1][2],9.7);
}
}
So what's happening is it's doing 500 checkpoints on connect for one player, to show only one for that one player.
PHP код:
//for(new i;i<MAX_PLAYERS;i++)
//{
if(Player_CheckPoint[playerid] == 0)
{
SetPlayerRaceCheckpoint(playerid,1,CheckPoints[0][0],CheckPoints[0][1],CheckPoints[0][2],CheckPoints[1][0],CheckPoints[1][1],CheckPoints[1][2],9.7);
}
//}