14.08.2018, 03:58
Как то так:
PHP Code:
exampleFunc("test");
stock exampleFunc({_}:...)
{
new string[10];
for(new i = 0; ; i++)
{
if(getarg(0, i) == EOS)
break;
string[i] = getarg(0, i);
}
printf("%s", string);
}