21.12.2013, 00:17
or something like this...?
pawn Код:
// Some FS
new
somestr[8] = "abcd123";
forward GetSomeStr(idx);
public GetSomeStr(idx)
{
return somestr[idx];
}
// GM
new
str[8];
for (new idx = 0; idx != 8; ++ idx)
{
str[idx] = CallRemoteFunction("GetSomeStr", "i", idx);
if (str[idx] == '\0') break;
}
printf("%s", str);

