Jump to content
MakeWebGames

Recommended Posts

Posted

Hi guys. I decided to stop reading the great mods and starting writing some myself. This is my first EVER mod, so take that into consideration when slating me! *chuckles*

Also, I'm sure people will find bugs/faults, so that's why its v1.0...for now!

So the first mod I decided to make is a horse racing gambling game. I am aware there were 2 or 3 mods already made for horse racing, but mine uses odds. Not much of an overall difference, but I think it's a nice addition. Here's the script:

horses.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

add to explore.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Is there really another mod out there that uses mathematics to determine odds for results? If so, please direct me to it and i'll remove this. I'll admit, i used a number of free mods for aspects, and something to build on, but I feel I added enough of my own work to call it my own. As I haven't really been on these forums for a long time, you have to forgive me when I can't understand why you'd run in and put someone down for trying, without backing up your points. I could go to one of the MCCoders and say "that's not your work, I saw it somewhere else" and not mention that location. I tried to explain I'm new and you are just basing your comment on the assumption that I can read your mind and know which place to look. I'm sorry, but that's just not the way it is.

Posted

Try changing the text

you cannot refresh or go back on the slots

 

For a start.

$horse[1]=(int) rand(1,125);if ($horse[1] > 0 && $horse[1] < 50)

 

$slot[1]=(int) rand(0,9);

 

Did i really need to back up my points. No not really. Just say you edited the slotsmachine.php and here it is I dont see the problem in being honest.

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...