14.03.2017, 19:58
Good evening everyone,
While I was searching for a way to loop through enum element, I ended up using this which worked out just fine
My question is, what is the name of this tag "_:", I tried googeling it for extra exemples, but I couldn't find its name, so could anyone care to tell me what it's called?
While I was searching for a way to loop through enum element, I ended up using this which worked out just fine
PHP Code:
for(new i; _:i<sizeof(AchievementName);i++){
if(pAch[playerid][E_Achievements:i] == 1){
format(str, sizeof(str), "%s{00FF00}%s\n",str, AchievementName[i]);
}
else format(str, sizeof(str), "%s{FF0000}%s\n",str, AchievementName[i]);
}