Pickups problem
#6

Use.....

Код:
enum XYZ { Float:XPos, Float:YPos, Float:ZPos }

new nRange[MAX_RANGES][XYZ] = {
     { 1.0, 1.0, 1.0},
     { 1.0, 1.0, 1.0},
     { 1.0, 1.0, 1.0},
     { 1.0, 1.0, 1.0},
      ..................... To 50
     { 1.0, 1.0, 1.0}
};
Then reference your ranges......

Код:
if(IsPlayerInRangeOfPoint(playerid, range, nRange[arrayentry][XPos], nRange[arrayentry][YPos], nRange[arrayentry][ZPos]))
Edit - Sorry my first response was wrong you need to use the "new" keyword since your actually loading data into this array.

judothijs - What kind of nonsense code is that ?
Reply


Messages In This Thread
Pickups problem - by newbienoob - 29.03.2013, 09:04
Re: Pickups problem - by judothijs - 29.03.2013, 09:40
Re: Pickups problem - by newbienoob - 29.03.2013, 09:51
Re: Pickups problem - by judothijs - 29.03.2013, 10:25
Re: Pickups problem - by newbienoob - 31.03.2013, 05:38
Re: Pickups problem - by Pottus - 31.03.2013, 05:41
Re: Pickups problem - by newbienoob - 31.03.2013, 11:41

Forum Jump:


Users browsing this thread: 1 Guest(s)