03.10.2018, 16:19
Option 1:
or
Option 2:
Код:
enum efuncs
{
estring[256 char];
}
new func[][efuncs];
{
{"Text example"},
{"Text example 2"}
};
Option 2:
Код:
GetFunction(id)
{
new string[256 char];
switch(id)
{
case 1: format(string, sizeof(string), "Text example");
case 2: format(string, sizeof(string), "Text example 2");
}
return string;
}


