[FilterScript] Fully Custom Slot Machines
#1

Serversided Slot Machines
Version 1.0

[ame]http://www.youtube.com/watch?v=y12kt7iGnqs[/ame]
Info
  • Completely serversided Slot Machines
  • Independent from the default GTA:SA Slot Machines
  • Fully customizable wager and prizes
  • Very smooth slot rotation
  • 3D labels showing the player where he can gamble
  • Spin the slots just by pressing the RETURN button
  • Textdraws showing the player the reward for the symbols and the recieved symbols after each draw
  • Textdraws displaying the won and paid amount of money and the difference, showing him if he made a loss or profit
  • 22 Slot Machines in total
  • Machines are located in the Calingula's Casino interior

Commands

/gamble - Allows the player to start gambling if he's close enoug to a slot machine and has enough money to pay the wager.
/stopgamble - Allows the player to stop gambling.
Secondary Fire key - Spins all of the three slots just by pressing the key.


Download
Via adf.ly

Solidfiles download (WinRar)
Pastebin


Install

Put the SlotMachines.pwn (and the SlotMachines.amx if you downloaded from Solidfiles) into your filterscripts folder. Open the Slotmachines.pwn and edit the defines as you desire:
pawn Код:
//------------------------------------------------------
#define DIALOG_STARTGAMBLE  1893    //DialogID of the dialog shown when a player types /gamble
#define DIALOG_STOPGAMBLE   1894    //DialogID of the dialog shown when a player types /stopgamble
#define GAMBLE_WAGER        5       //Amount of money a player has to pay whenever he spins the slot machine (wager)
#define REWARD_DOUBLEBAR    999     //Amount of money a player recieves when he has 3x the double goldbars (Should be highest value)
#define REWARD_BAR          888     //Amount of money a player recieves when he has 3x the single goldbar
#define REWARD_BELL         777     //Amount of money a player recieves when he has 3x the gold bell
#define REWARD_CHERRY       666     //Amount of money a player recieves when he has 3x the cherry
#define REWARD_GRAPES       555     //Amount of money a player recieves when he has 3x the grapes
#define REWARD_SIXTYNINE    444     //Amount of money a player recieves when he has 3x the 69 (Should be lowest value)
//------------------------------------------------------
Compile the script, open your server.cfg, put 'SlotMachines' in the filterscripts line and you're ready to run!


Credits

Drebin - Idea, design and coding


It's my first FS so don't expect it to be perfect :P.
Image(s)
Reply
#2

Nice job guy.
Reply
#3

Cool ! Good Job
Reply
#4

Drebin,very nice script

download...
Reply
#5

omg this is awesome dude! I'm deff gonna be using this. Thanks for releasing something this amazing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)