Odds / Horses - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Odds / Horses (
/showthread.php?tid=149210)
Odds / Horses -
Kyle - 21.05.2010
If I have horse names like this.
pawn Code:
new RaceSet4[][24] = {
{"Kalipso Doom"},
{"Kyles Passion"},
{"Captain Awsome"},
{"Mr Lambert"},
{"Whipping Quick"},
{"Horse Whisper'er"}
};
How do I get it so that it will display the horses names in a dialog with random odds e.g 3:1 next to it.
Re: Odds / Horses -
ViruZZzZ_ChiLLL - 21.05.2010
pawn Code:
switch(random(2))
{
case 0 : ShowPlayerDialog(....)
case 1 : ShowPlayerDialog(....)
}
I think?
Re: Odds / Horses -
Kyle - 21.05.2010
I want each horse name in a format. How do i go about doing that?
Re: Odds / Horses -
ViruZZzZ_ChiLLL - 21.05.2010
Quote:
Originally Posted by Mr_Tom
I want each horse name in a format. How do i go about doing that?
|
Wait, what? I don't get it

and how do you want it, LIST, or MSGBOX style?
Re: Odds / Horses -
Kyle - 21.05.2010
Message box style, It will say each horse in a list.
Re: Odds / Horses -
ViruZZzZ_ChiLLL - 21.05.2010
Quote:
Originally Posted by Mr_Tom
Message box style, It will say each horse in a list.
|
Okay, but do you want it under via command?
Then want anything else? Some randoms you
were talking about?
Re: Odds / Horses -
Kyle - 21.05.2010
The list will be like this
Horse 1 - (odds here)
Horse 2 - (odds here)
Horse 3 - (odds here)
Horse 4 - (odds here)
Horse 4 - (odds here)
When that race starts the odds are the same. Untill next time a different race runs.
Re: Odds / Horses -
Kyle - 21.05.2010
Thats how I Want it so i how do i do it?