-
Add the contents of the game folder, to your gameservers addons folder.
-
Open the file located in darkrp_lottery/lua/autorun/sv_lottery.lua
-
Enter in your mysql details, host, username, password etc. Set your desired values to increase the difficulty of winning the pot. The bigger spectrum and more numbers will increase the difficulty.
-
Upload the web folder to your web site, its best to put the lottery.cron.php file outside the public_html folder. As it can be run from anywhere. Edit settings.php to match the servers config for mysql and numbers.
-
Rename the sample-settings.php to settings.php and fill out the same mysql settings as for the server.
-
Navigate to the setup.php script, this will generate the tables.
-
Now setup a cron on cPanel to run every 24 hours, as an example and it will handle the rest..
-
Notifications
You must be signed in to change notification settings - Fork 2
A lottery system for Gmod DarkRP
License
MikkelsWorld/DarkRP-Lottery-System
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A lottery system for Gmod DarkRP
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published