04.08.2011, 22:15
Instead of doing something like:
Is it possible to do something like:
So I could use them in the following syntax?
pawn Код:
enum player_Information {
Achievement1
Achievement2,
Achievement3,
...
}
pawn Код:
enum player_Information {
Achievements[4]
}
pawn Код:
if(cInfo[playerid][Achievements[0]] == 1) {
//You have achievement #1!
}
else return //You don't have achievement #1! :(