SA-MP Forums Archive
Anti Cheat Help - 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)
+--- Thread: Anti Cheat Help (/showthread.php?tid=548125)



Anti Cheat Help - HydraHumza - 27.11.2014

Hey
I Need help to create anti cheat for my server that don't ban itself it just message to admin so admin can confirm and ban.


Re: Anti Cheat Help - LeXuZ - 27.11.2014

This is a helpful Tutorial on how to make an anti cheat! https://sampforum.blast.hk/showthread.php?tid=220089, and instead of banning them, use this or something
pawn Код:
stock SendMessageToRAdmins(color,const msg[])
{
   for (new i=0; i<MAX_PLAYERS; i++)
   {
      if (IsPlayerConnected(i) && IsPlayerAdmin(i)) SendClientMessage(i,color,msg);
   }
}
change it to your admin code to remove it from rcon only


Re: Anti Cheat Help - HydraHumza - 27.11.2014

Quote:
Originally Posted by LeXuZ
Посмотреть сообщение
This is a helpful Tutorial on how to make an anti cheat! https://sampforum.blast.hk/showthread.php?tid=220089, and instead of banning them, use this or something
pawn Код:
stock SendMessageToRAdmins(color,const msg[])
{
   for (new i=0; i<MAX_PLAYERS; i++)
   {
      if (IsPlayerConnected(i) && IsPlayerAdmin(i)) SendClientMessage(i,color,msg);
   }
}
change it to your admin code to remove it from rcon only
I am not good in creating anti cheat can u do it for me it will helo me alot


Re: Anti Cheat Help - LeXuZ - 27.11.2014

Quote:
Originally Posted by Humza
Посмотреть сообщение
I am not good in creating anti cheat can u do it for me it will helo me alot
It's good to start learning these things, i am not the best, but that tutorials will help you a lot, it's best to at least have a try and learn what it is your scripting as if you have someone do it for you and something goes wrong, you won't know how to fix it and won't know how it works