03.11.2009, 19:14
[FS] Zinglish's Lotto Draw (source only)
My new name is Zinglish btw
Source: Pastebin
What is it: A filterscript for RPG scripts (Also RPF scripts, like the one I'm working on). Creates a lotto draw, the numbers are randomly generated, and so is the cash prizeHow do I use it: Open it up in pawno, and edit it to your liking.
Give credit where credit is needed if you're using this, and if you have edited it.
Features:
- dcmd command /lotto [number] for players to play the lotto
- Admin command /drawlotto to draw the lotto
- No two player's chosen numbers can be the same
- Random cash outs
- Zinglish's GivePlayerCash and TakePlayerCash stocks
cashStocks: When the player receives cash, the cash draw does not disappear, but still changes.