I'm looking for ...
#4

Quote:
Originally Posted by RyDeR`
Посмотреть сообщение
Sure, just create an include to call the functions (using CallRemoteFunction) than open "ExecFunctions.pwn" and edit the command a bit. Better replace with this:
pawn Код:
strcat(pawnScript, "#include <a_samp>\r\n");
strcat(pawnScript, "#include <YourCustomIncludeHere>\r\n\r\n");
strcat(pawnScript, "public OnFilterScriptInit()\r\n");
strcat(pawnScript, "{\r\n\t");
strcat(pawnScript, cmdtext[6]);
strcat(pawnScript, "\r\n}");
compile it. Now start the server and you should be able to call your custom functions. (If you have a lot of includes to include, don't forget the increase the string size).
Have fun.
Reply


Messages In This Thread
I'm looking for ... - by Danny - 08.09.2011, 17:13
Re: I'm looking for ... - by Gh0sT_ - 08.09.2011, 17:19
Re: I'm looking for ... - by Danny - 08.09.2011, 17:23
Re: I'm looking for ... - by RyDeR` - 08.09.2011, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)