10.10.2011, 20:52
I mean:
pawn Код:
new str[64];
enum stuff{
Variable1,
Variable2
}
new Info[stuff];
// some public
switch(x)
{
case 1: format(str,sizeof(str),"Variable1");
case 2: format(str,sizeof(str),"Variable2");
}
Info[str] // he should look Variable1 but str