SA-MP Forums Archive
Scrypting Calligula's Casino - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Scrypting Calligula's Casino (/showthread.php?tid=225510)



Scrypting Calligula's Casino - kantin4 - 13.02.2011

Hi everybody ,

i need some help about scrypting a casino for my rolepay server
is it possible de disable the tables and fruit machines in order to create comands like /bet etc ...

Thanks to answer me

PS : sorry for my englih , i'm a french guy


Re: Scrypting Calligula's Casino - Mean - 13.02.2011

Well, you can just put an object over them so players can't gamble, since there is no function to disable / enable games.
I wish SA-MP would allow:
pawn Код:
EnableSPGames( );
It would enable casino games, and the consoles @ alhambra, and all...
Still, not possible yet.


Re: Scrypting Calligula's Casino - kantin4 - 13.02.2011

Ok thanks to answer

But is there any solutions without add objects ?


Re: Scrypting Calligula's Casino - Mean - 13.02.2011

Sadly, no.


Re: Scrypting Calligula's Casino - [03]Garsino - 13.02.2011

It is possible to detect gambling from casinos.
You can get their animation, check their position, check their money + probally a lot of other ways too.

Then after checking you set their money back to the original one/remove them from spectating mode/etc..


Re: Scrypting Calligula's Casino - kantin4 - 13.02.2011

Ok thanks
Unfortunately, i try to create a business with a casino but with this problem it's really hard, some players press " SPACE " and bet instead of /bet and the money goes in my business
You see ?
An idea ?

EDIT : is it possible to raise the money bet in the gamble machine ? tables in my float ?


Re: Scrypting Calligula's Casino - kantin4 - 14.02.2011

Garsino , you said that is possible to raise money when the player gambles like the solo ?

How do you do ?