SA-MP Forums Archive
anti cheat - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: anti cheat (/showthread.php?tid=65589)



anti cheat - Headshot1108 - 14.02.2009

hi everyone.

i've scripted a own anti cheat but i think its dont right working.

for example:


pawn Код:
public weaponhack()
{
if(GetPlayerWeapon(i) == 38)
{
BanEx(i, "Minigun");
return 1;
}
}
and i dont find i good anti cheat for weapon


Re: anti cheat - Marcel - 14.02.2009

http://forum.sa-mp.com/index.php?topic=64538.0


Re: anti cheat - harrold - 14.02.2009

Quote:
Originally Posted by Headshot1108
hi everyone.

i've scripted a own anti cheat but i think its dont right working.

for example:


pawn Код:
public weaponhack()
{
if(GetPlayerWeapon(i) == 38)
{
BanEx(i, "Minigun");
return 1;
}
}
and i dont find i good anti cheat for weapon
Use GetPlayerWeaponData


Re: anti cheat - Headshot1108 - 14.02.2009

Quote:
Originally Posted by harrold
Quote:
Originally Posted by Headshot1108
hi everyone.

i've scripted a own anti cheat but i think its dont right working.

for example:


pawn Код:
public weaponhack()
{
if(GetPlayerWeapon(i) == 38)
{
BanEx(i, "Minigun");
return 1;
}
}
and i dont find i good anti cheat for weapon
Use GetPlayerWeaponData
how?


Re: anti cheat - Littl3j0hNy - 14.02.2009

Did you use a Timer to Check ?

- LJ


Re: anti cheat - Headshot1108 - 14.02.2009

Quote:
Originally Posted by ★ ♫ • Littlejohny • ♫ ★
Did you use a Timer to Check ?

- LJ
yes.

its work but they banned after a time all.


Re: anti cheat - Littl3j0hNy - 14.02.2009

pawn Код:
public weaponhack()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(GetPlayerWeapon(i) == 38)
{
BanEx(i, "Minigun");
}
}
return 1;
}
- LJ


Re: anti cheat - Headshot1108 - 14.02.2009

Quote:
Originally Posted by ★ ♫ • Littlejohny • ♫ ★
pawn Код:
public weaponhack()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(GetPlayerWeapon(i) == 38)
{
BanEx(i, "Minigun");
}
}
return 1;
}
- LJ
xD, i said it works, but not corectly.
for example:
it bans guys without minigun


Re: anti cheat - Littl3j0hNy - 14.02.2009

Hi,
Look here: http://forum.sa-mp.com/index.php?topic=89627.0
In my Anticheat i have Anti-Weaponcheat.

- LJ