25.10.2012, 17:40
So on my register system you can choose your age in a dialog (I.E. - (18\n19\n20\n21) etc..
But instead of doing if(listitem == 0) or whatever for all the number, is there a way I can do like
if(response)
AgeReturn(playerid);
or something then
AgeReturn(playerid)
{
case: 18, 19, 20
}
or whatever, idk, never done cases before, but something like that so it fetches the number in order?
+rep thank you
But instead of doing if(listitem == 0) or whatever for all the number, is there a way I can do like
if(response)
AgeReturn(playerid);
or something then
AgeReturn(playerid)
{
case: 18, 19, 20
}
or whatever, idk, never done cases before, but something like that so it fetches the number in order?
+rep thank you