Help with my simple anti cheat :D
#4

pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    new weapname[32], weapname2[32];
    GetWeaponName(weaponid, weapname, sizeof(weapname));
    GetPVarString(playerid, "Weapon", weapname2, sizeof(weapname2));
    if (!strcmp(weapname, weapname2, true)) return SCM(playerid, -1, "Hello Hacker");
    return 1;
}
Reply


Messages In This Thread
Help with my simple anti cheat :D - by PMH - 27.08.2014, 17:12
Re: Help with my simple anti cheat :D - by ThePhenix - 27.08.2014, 17:24
Re: Help with my simple anti cheat :D - by PMH - 27.08.2014, 17:26
Re: Help with my simple anti cheat :D - by Stinged - 27.08.2014, 17:53
Re: Help with my simple anti cheat :D - by PMH - 27.08.2014, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)