How to
#1

How to make a anti Weapon Hack

and also explain me the codes...:P if the codes is hard

EDIT: i want like if player hack any weapon then it should report to admins
Reply
#2

just make a timer which will check every player what guns have, and after you can add what weapons are forbidden
exemple
pawn Код:
SetTimer("CheckAntiCheat",1000,1);
forward CheckAntiCheat();
public CheckAntiCheat
{
for(new playerid=0;playerid<MAX_PLAYERS;playerid++)
{
new weap,ammo;
for(new i=1;i<13;i++)
{
GetPlayerWeaponData(playerid,i, weap, ammo);
switch(weap)
{
case:// now add id of weapons which are forbidden and ohter stuff
}
}
}
return 1;
}
Reply
#3

nope i want like if player hack any weapon then it should report to admins
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)