20.09.2014, 05:37
Quote:
If I Rename That, I Got bunch Of Things To Rename.
I Just Do: switch(PlayerInfo[playerid][pAdmin]) BTW, thanks for reply, +1 |
1) Change the name of the enum to anything
2) Do this:
new pInfo[MAX_PLAYERS][-YOUR-ENUM-NAME-];
You shouldn't have any errors, because this is the correct way of doing it, what you showed me before, you were using the enum's name, instead you need to create for it, look at what I did, maybe you'll understand it, but the code I gave you is the correct way to use an enum.
BTW: You are supposed to put the new variable for the enum under the enum.
Note: This is only the var you are creating to use the enum, if you have used everything with pInf[etc][etc]
Then you should have ZERO errors.