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=438237)
Anti-cheat help -
Kirchhoff - 19.05.2013
Hi where can I find a very simple money anti-cheat that if you give yourself 1000000 money to restore them back to 0 without banning you ? I saw on many servers but I can't find it . Any help please?
AW: Anti-cheat help -
HurtLocker - 19.05.2013
Quote:
Originally Posted by Kirchhoff
if you give yourself 1000000 money to restore them back to 0
|
What do you mean with this?
EDIT: Oh ok i see your point now. Try fallout's anticheat but change the lines which cause the kick and replace them with F_ResetPlayerMoney(playerid)
Re: Anti-cheat help -
VanillaRain - 19.05.2013
try this
HERE
if this doesn't work use GetPlayerMoney and ResetPlayerMoney callbacks
EDIT: maybe the ResetPlayerMoney(playerid); under public OnPlayerConnect(playerid) isn't needed, try this and if the money at the beginning runs to 0 remove this line
Re: Anti-cheat help -
Kirchhoff - 19.05.2013
both of you don't seem to help me . I need something that when they try add money with ****** and they have 200$ and they want to add 2kk$ to restore theyr money back to 200$
Re: Anti-cheat help -
Rayan_black - 19.05.2013
Well you need to define your SERVER sided money using a var or a stock, and use it to give money instead of GiveMoneyEx, use that var or stock.