14.02.2011, 19:18
this is just a simple test function, but it works (quite surprised myself, haha)
thats it!
you only need to download This plugin (execute plugin by JaTochNietDan) and you're ready to go.
will most probably not work on some hosts as they not include the scripting package in the server root. you could try to upload the pawncc.exe and libraries to your host.
hope u make some nice scripts with it
suggestion: try to make a filterscript wich lets you debug ingame. (filemanager plugin so u can move it back to filterscripts) and then reloadfs (name) post the link here if u make it..
pawn Код:
#define FILTERSCRIPT
#if defined MAX_FILENAME
#else
#define MAX_FILENAME (128)
#endif
#include <a_samp>
#include <exec>
/*
native Compile(filename[]);
*/
Compile(file[MAX_FILENAME])
{
format(file,sizeof(file),"start pawno/pawncc.exe %s",file);
exec(file);
}
you only need to download This plugin (execute plugin by JaTochNietDan) and you're ready to go.
will most probably not work on some hosts as they not include the scripting package in the server root. you could try to upload the pawncc.exe and libraries to your host.
hope u make some nice scripts with it
suggestion: try to make a filterscript wich lets you debug ingame. (filemanager plugin so u can move it back to filterscripts) and then reloadfs (name) post the link here if u make it..