29.03.2011, 19:00
So I have this:
I really don't think an array with that much data is really efficient and it could be slowing down some stuff.
Although I could do
But, I dont know if that is quite efficient and I would need to format the string everytime I loop through a player to check if the gangzone exists.
Any other ideas or methods?
Thanks.
pawn Код:
enum wInfo
{
WantedZone,
WantedTime
};
new WantedInfo[MAX_PLAYERS][MAX_PLAYERS[wInfo];
pawn Код:
WantedInfo[playerid][i][WantedZone] = GangZone();
Although I could do
pawn Код:
new string[128];
format(string, 128, "zone_%d", i);
SetPVarInt(playerid, string, GangZone());
Any other ideas or methods?
Thanks.