Good evening all,
I'm currently setting up polygon areas for street names. Currently, I have it set as follows:
I have about 20 of these so far, and to me, this seems really inefficient.
What I would like, is a float which contains the street name, and county, and then the points, like so...
Perhaps using an enum to store that information. But because the amount of points for a given street could be anything from 4 to 25 points, how would I go about storing this into an enum?
Thanks
I'm currently setting up polygon areas for street names. Currently, I have it set as follows:
Code:
new area_StreetName;
new Float:Array_StreetName[] =
{
x, y,
x, y,
x, y
};
I have about 20 of these so far, and to me, this seems really inefficient.
What I would like, is a float which contains the street name, and county, and then the points, like so...
Code:
new Float:StreetNames[][StreetInfo]
{ "StreetName", "TownName, CountyName", POINTS },
Code:
enum StreetInfo {
StreetName_1[64],
StreetName_2[64],
Float:POINTS
};
Perhaps using an enum to store that information. But because the amount of points for a given street could be anything from 4 to 25 points, how would I go about storing this into an enum?
Thanks