06.05.2012, 23:09
How do I create a enum like this:
So that way when I refer to a command I can do if(numbers) something like that.
pawn Код:
enum numbers
{
55,66,77
};
enum numbers
{
55,66,77
};
I've seen it done with coordinates, where they put like 10 coordinates and they refer back to it using a enum of some sort, how do I do that?
|
enum PLAYER_DATA
{
iLogged,
iAdminLevel,
iVip,
bIsRegged,
iPocketCash,
iKills,
iDeaths
}
new gPlayerData[MAX_PLAYERS][PLAYER_DATA];
new Pos[2][3] = {
{15,15,15},
{105,15,35}
};