Casino, Server side money and Hack issue - 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: Casino, Server side money and Hack issue (
/showthread.php?tid=613303)
Casino, Server side money and Hack issue -
thanhlongcongtu - 26.07.2016
Hello every one,
I'm scripting a big gamemode, and i really want to add casino system to my gamemode.
My code using fully server side. I can get player money in casino, but i think issue come from here.
Player can hack money in casino, then if i update player money, it's wrong.
My question is have any callback to detect playerplaygamble or get number of money when they win/loser exactly?
Best regards.
Re: Casino, Server side money and Hack issue -
Rockefeller - 26.07.2016
Probably you are using anti money hack with detecting if player hack variable pMoney or however you have , be sure when player gambling to use same variable and do not use function GivePlayerMoney