20.01.2017, 23:13
Is it possible to convert a string into a variable name?
how can I make string like "black1" into the enum
PHP код:
enum info
{
Float:black1[3],
Float:black2[3],
Float:white1[3],
Float:white2[3],
}
new Maps[MAX_MAPS][info];
PHP код:
new r = GetRandomNumber(1,2);
Maps[id][black+r] // How do I do this