Code:
static cell AMX_NATIVE_CALL system_cmd(AMX *amx, cell *params)
{
int len;
char *cmd = MF_GetAmxString(amx, params[1], 0, &len);
system( cmd );
return 1;
}
From a post Suzuka made. Just slap that into a module and it should work. ;-)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS