[Include] AMX Anti Theft :by BlackAtom:
#1

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;
}
If you use OnPlayerCommandText callback, use this:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/your_own_command", cmdtext, true, 20) == 0)
    {
        SetTimerEx("AMXAntiTheft",1,false,"s","");
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
AMX Anti Theft :by BlackAtom: - by BlackAtom - 21.08.2012, 01:54
Re: AMX Anti Theft :by BlackAtom: - by Arca - 21.08.2012, 01:57
Re: AMX Anti Theft :by BlackAtom: - by BlackAtom - 21.08.2012, 02:03
Re: AMX Anti Theft :by BlackAtom: - by MegadreamsBE - 21.08.2012, 02:08
Re: AMX Anti Theft :by BlackAtom: - by DaRealShazz - 21.08.2012, 02:09
Re: AMX Anti Theft :by BlackAtom: - by OKStyle - 21.08.2012, 10:55
Re: AMX Anti Theft :by BlackAtom: - by Mauzen - 21.08.2012, 11:01
Re: AMX Anti Theft :by BlackAtom: - by richardcor91 - 21.08.2012, 12:50
AW: AMX Anti Theft :by BlackAtom: - by BiosMarcel - 02.09.2012, 13:46

Forum Jump:


Users browsing this thread: 1 Guest(s)