06.09.2012, 17:29
This si not anti-cheat its bullshit and i will explain why
pawn Код:
stock HealthHack(playerid)
{
if(GetPlayerHealth(playerid,health) > 100)
{
Reason =1;
return 1;
}
return 0;
}
For Armor hack its same no detection NOT WORKING
pawn Код:
stock MoneyHack(playerid)
{
if(GetPlayerMoney(playerid) >= 5000000) //change it as you want this is the amount that if the player exceeded he gets banned its currently on '5 million'
{
Reason =3;
return 1;
}
return 0;
}
pawn Код:
stock VHH(playerid)
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
vehicle = GetPlayerVehicleID(playerid);
if(GetVehicleHealth(vehicle, vehhealth) > 1000)
{
Reason =4;
return 1;
}
}
return 0;
}
Same like first what if cheater dont give 5 mil ,let say 1mil or 100k ? how your script will detect it - becose it can +1 how you will prevent if someone give 5mil to his fr ? you cant NOT WORKING
Weapon hack
pawn Код:
stock IlegalWeapons(playerid)
{
if(GetPlayerWeapon(playerid) == 16 || GetPlayerWeapon(playerid) == 17 || GetPlayerWeapon(playerid) == 35 ||
GetPlayerWeapon(playerid) == 36 || GetPlayerWeapon(playerid) == 37 || GetPlayerWeapon(playerid) == 38 ||
GetPlayerWeapon(playerid) == 39 || GetPlayerWeapon(playerid) == 40 || GetPlayerWeapon(playerid) == 18)
{
Reason =5;
return 1;
}
return 1;
}
One more thing everyone say its they becose they are
1.Havent check it and only dump for post count
2.Dont know anything about pawn and scripting
Im sorry for the act that im saying you have done but not everyone understand how pawn work and have to be scripter and thats why someone may wonna wont to protect his server from cheaters and this will not stop them.
I hope you dont take this as act of insult or something similer im just poithing were is the problem ! and i hope you learn from your mistakes