OnPlayerWinInCasino - 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: OnPlayerWinInCasino (
/showthread.php?tid=482851)
OnPlayerWinInCasino -
audriuxxx - 23.12.2013
Hi,
It'is possible to check when player win in casino?
Re: OnPlayerWinInCasino -
Ada32 - 23.12.2013
not really..
Re: OnPlayerWinInCasino -
xFallen - 23.12.2013
You will have to script the whole casino yourself.
Re: OnPlayerWinInCasino -
park4bmx - 23.12.2013
only possible, untrustworthy, way would be to keep an aye on the players money,once they raise you will know if they have won.
The check
Check their position and interior to make sure they are near a casino game, to make it more trustworthy/accurate make sure that no player/admin has given them any money while playing/not playing the casino game so the script doesn't mistake it for a game win.
only way i can think of.
Re: OnPlayerWinInCasino -
xFallen - 23.12.2013
Quote:
Originally Posted by park4bmx
only possible, untrustworthy, way would be to keep an aye on the players money,once they raise you will know if they have won.
The check
Check their position and interior to make sure they are near a casino game, to make it more trustworthy/accurate make sure that no player/admin has given them any money while playing/not playing the casino game so the script doesn't mistake it for a game win.
only way i can think of.
|
also it has to be server-side money