Follow the instructions in the attachment below. Tested and works perfectly for me![]()
Follow the instructions in the attachment below. Tested and works perfectly for me![]()
Back for a while...
Ill Post It :?
run sql data
create file numbergame.php
add in cron_hour.php
add into explore.php
[img width=282 height=60]http://criminalcenter.com/jameoce.png[/img]
What does it do?
Well it Sounds like, Its something to do with "numbers" :/Originally Posted by hurra
My open source projects: https://github.com/Jo3la
Projects I'm currently working on:
- PHP RPG Engine
- HTML5 Game Engine
Well basically, you choose a number between 1 and 50.
Every hour a cron runs to randomly select a winner.
If the cron picks the number you have chosen, you win 5 crystals.
Back for a while...
Love it :-D
Nice one Richard
Can someone point me in the right direction. I would like a staff function which will tell me what number was drawn in which hour or who won for say last 24 hours.
Thanks
Ive edited this, you can now type the number you want to select instead of seeing the word 'Take' 50 times
Back for a while...
I think this will work for staff to view winners
Run this SQL Data:
Add below the previous cron_hour queries:
Add into staff_users.php
Add above Mini Competition in numbersgame.php
Someone with mccodes v2 may need to test this code first
Back for a while...
Bookmarks