06.09.2010, 17:56
Wow very nice ryder :O so this allows you to compile an .pwn file with just a filterscript and plugin
#include <a_samp>
#include <color>
#include <sscanf2>
public OnRconCommand(cmd[])
{
new operation[32], file[64], string[128];
if(sscanf(cmd, "s[32]s[64]", operation, file)) return 1;
if(strcmp(operation, "compile", true) == 0)
{
format(string, sizeof(string), "pawno\\pawncc.exe %s", file);
systemEx(string);
return 1;
}
return 1;
}