SA-MP Forums Archive
Soda machine with server sided money - 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: Soda machine with server sided money (/showthread.php?tid=419687)



Soda machine with server sided money - PaulDinam - 01.03.2013

I have anti money cheat in my server, but when I use the soda machine it bans me .. :/
how can I combine my pCash variable with the soda machine?


Re: Soda machine with server sided money - Catalyst- - 01.03.2013

pawn Код:
if(pCash-GetPlayerMoney(playerid) == 1) {
    // Vending Machine used
} else {
    // Ban player
}
This is the easiest way I can think of that detects if a vending machine was used...


Re: Soda machine with server sided money - PaulDinam - 01.03.2013

Thanks, didn't think about it


Re: Soda machine with server sided money - Vince - 01.03.2013

Banning a player when their money is going down. Seems legit. :')