Looping through an enum
#2

Hello, you don't have to use the label of the enum but, the variable with the enum declared in. exemple :

enum rank
{
POLICE,
GANG
}
new faction[rank];

see you
Reply


Messages In This Thread
Looping through an enum - by zsoolt997 - 15.01.2018, 17:57
Re: Looping through an enum - by chneubeul - 15.01.2018, 18:06
Re: Looping through an enum - by Misiur - 15.01.2018, 18:10
Re: Looping through an enum - by zsoolt997 - 16.01.2018, 06:34
Re: Looping through an enum - by MP2 - 17.01.2018, 07:42

Forum Jump:


Users browsing this thread: 2 Guest(s)