21.07.2011, 17:19
Once again, the same basic code like in reply #3
This is fully enough to clear all enum variables and arrays, due to the fact how enums work!
pawn Код:
enum E_VAR {
var1,
var2[10],
var3
}
new var[E_VAR];
for(new i; i < sizeof(var); i++) {
var[E_VAR: i] = 0;
}