31.03.2013, 05:41
Use.....
Then reference your ranges......
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 ?
Код:
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} };
Код:
if(IsPlayerInRangeOfPoint(playerid, range, nRange[arrayentry][XPos], nRange[arrayentry][YPos], nRange[arrayentry][ZPos]))
judothijs - What kind of nonsense code is that ?