Very Special Initializer [Need help from very expeirenced scripter]
#4

If you just need to loop through that array and find the name of the location, it's pretty simple. See if this prints the name of the location:

pawn Код:
for(new i = 0; i < sizeof(gSAZones); i++)
{
    print(gSAZones[0][i]);
}
Otherwise, try this one:

pawn Код:
for(new i = 0; i < sizeof(gSAZones); i++)
{
    print(gSAZones[i][0]);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)