checkpoint discussion
#7

2d arrays.
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
You can also use it for IsPlayerInRangeOfPoint obviously.
Reply


Messages In This Thread
checkpoint discussion - by dark_clown - 27.11.2010, 09:55
Re: checkpoint discussion - by Jochemd - 27.11.2010, 09:57
Re: checkpoint discussion - by dark_clown - 27.11.2010, 10:00
Re: checkpoint discussion - by Jochemd - 27.11.2010, 10:02
Re: checkpoint discussion - by dark_clown - 27.11.2010, 10:03
Re: checkpoint discussion - by Jochemd - 27.11.2010, 10:04
Re: checkpoint discussion - by iggy1 - 27.11.2010, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)