21.08.2012, 01:54
AMX Anti Theft :by BlackAtom:
If someone steal your AMX (compiled pawno source code) and you discover it, you can crash the server!
Put the version of my code TESTED and WORKING in your gamemodes and filterscripts
Replace your_own_command with your own command, just for prevent more your AMX!
In the pawno script that uses ZCMD, put this:
pawn Код:
CMD:your_own_command(playerid, params[])
{
SetTimerEx("AMXAntiTheft", 1, false, "s", "");
return 1;
}
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/your_own_command", cmdtext, true, 20) == 0)
{
SetTimerEx("AMXAntiTheft",1,false,"s","");
return 1;
}
return 0;
}