[Not Solved] Help with weapon hack
#1

im trying to make anti weapon cheat that if someone trying to summon weapon like deagle with cheats he will banned
that what i made but still its not working


Code:
GetPlayerWeaponData(i, 2, weaponid, ammo);
if ((weaponid == 24 || weaponid == 23) && (!SafeGivePlayerWeapon(i,weaponid, ammo)) )
{
blablaa.....
}
Reply
#2

Will no one can help here?
Reply
#3


Code:
new weaponid = GetPlayerWeapon(playerid)
if (weaponid == 24 || weaponid == 23)
{
Ban(playerid);
}
Reply
#4

i need an anti wep & money hack
Reply
#5

pawn Code:
#define GivePlayerWeapon lala_GivePlayerWeapon // PUT INSIDE GM
[pawn]public lala_GivePlayerWeapon(playerid,weaponid,ammo)
{
if(weaponid == WEAPONID || weaponid == WEAPONID)
{
reset there weps and kick/ban
}
else
{
GIvePlayerWeapon(playerid,weaponid,ammo);
return 1;
} // untested, might have to fix [..:MAKE INTO INCLUDE:..]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)