21.12.2013, 21:18
Technically, the longer the string, the more function calls. It's a great method, but personally I think that calling a remote function several times isn't ideal.
Edit: Actually, your code does infact give me an idea for something!
^ There's more to it, though. That's just a function. ^
Edit: Actually, your code does infact give me an idea for something!
pawn Код:
stock GetRemoteString(function[], dest[], size)
{
for (new i = 0; (dest[i] = CallRemoteFunction(function, "d", i)) && i < size; i ++) {}
return 1;
}