27.11.2010, 10:06
2d arrays.
You can also use it for IsPlayerInRangeOfPoint obviously.
pawn Код:
new Float:BurnFarmCpsA[5][3] =
{
{-100.4371,-1018.9482,23.9117},//this is the one in SetPlayerRaceCheckpoint below
{-451.9825,-841.6877,49.6414},
{-889.0490,-1180.7946,105.1821},
{-1049.2183,-1352.2665,129.8977},
{-1102.5682,-995.7136,129.0935}
};
pawn Код:
SetPlayerRaceCheckpoint(playerid, 0, BurnFarmCpsA[0][0],BurnFarmCpsA[0][1],BurnFarmCpsA[0][2], BurnFarmCpsA[1][0], BurnFarmCpsA[1][1],BurnFarmCpsA[1][2], 10.0);//checkpoint inside the farm