29.04.2008, 10:01
Info
This is a simple lotto system. It draws numbers from 1 to 99 every 24 game hours (24 minutes in real life). The players can buy lotto tickets in 24/7 shops for $2000 (default). The jackpot starts from 0, and grows randomly every second. If someone wins it, he/she will get the money, and the jackpot will reset to 0.
Commands
/lotto [number] -- buy a lotto ticket, can only be used in 24/7 shops
/jackpot -- shows the current jackpot
/resetjackpot -- sets the jackpot to 0, can only be used by admins
/lottocommands -- shows the list of commands
Download the .zip file from here: (pwn and amx)
FS_plotto.zip
EDIT: Pastebin link added:
http://pawn.pastebin.com/f4591b4d8
And by the way, this is my first FS.
This is a simple lotto system. It draws numbers from 1 to 99 every 24 game hours (24 minutes in real life). The players can buy lotto tickets in 24/7 shops for $2000 (default). The jackpot starts from 0, and grows randomly every second. If someone wins it, he/she will get the money, and the jackpot will reset to 0.
Commands
/lotto [number] -- buy a lotto ticket, can only be used in 24/7 shops
/jackpot -- shows the current jackpot
/resetjackpot -- sets the jackpot to 0, can only be used by admins
/lottocommands -- shows the list of commands
Download the .zip file from here: (pwn and amx)
FS_plotto.zip
EDIT: Pastebin link added:
http://pawn.pastebin.com/f4591b4d8
And by the way, this is my first FS.