29.03.2015, 16:18
I would like to ask, I'm trying to make 6 wanted reasons for wanted level.
Instead of doing:
I want:
So later on I can do this for example:
How can i do this to work? When i complie it like that, its working untill the variable in the enum WantedReason and everything after the variable is in error. so im asuming this is incorrect way to do it.
Instead of doing:
Код:
enum pInfo { WantedReason1[24], WantedReason2[24], WantedReason3[24], WantedReason4[24], WantedReason5[24], WantedReason6[24], };
Код:
enum pInfo { WantedReason[6][24], };
Код:
for(new i = 0; i < 5; i++) { INI_String("WantedReason",PlayerInfo[playerid][WantedReason][i], 24); }