29.08.2012, 17:13
Hi,
I have this little piece of code:
When the string (CallLocalFunction's 3 param) is empty, the server crashes. When there is anything in, it doesn't ... Does anyone know a good workaround/Way to solve it?
Thanks![Smiley](images/smilies/smile.png)
Edit: Solved it: https://sampforum.blast.hk/showthread.php?tid=180777
I have this little piece of code:
pawn Код:
CallLocalFunction("TestLocal", "s", "");
public TestLocal(const text[])
{
SendClientMessageToAll(COLOR_WHITE, "Text:");
SendClientMessageToAll(COLOR_WHITE, text);
}
Thanks
![Smiley](images/smilies/smile.png)
Edit: Solved it: https://sampforum.blast.hk/showthread.php?tid=180777