Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gambling Script Help
#2
(10-19-2009, 09:20 AM)Mr.FeellingLeSS Wrote: (line217)print "You won by colour! Profit: "+rnwoncash

Change the line to

Code:
print "You won by colour! Profit: ", rnwoncash

In Python you get a problem when you use "+" with 2 different types of data, since your var "rnwoncash" is integer you can't use "+" to add it to your string...
Reply


Messages In This Thread
Gambling Script Help - by Mr.FeellingLeSS - 10-19-2009, 09:20 AM
RE: Script problem... - by Gaijin - 10-19-2009, 09:24 AM
RE: Script problem... - by Mr.FeellingLeSS - 10-19-2009, 09:32 AM
RE: Script problem... - by Gaijin - 10-19-2009, 09:35 AM
RE: Script problem... - by Mr.FeellingLeSS - 10-19-2009, 12:28 PM
RE: Gambling Script Help - by Omniscient - 10-19-2009, 12:31 PM
RE: Gambling Script Help - by Fallen - 10-19-2009, 01:38 PM
RE: Gambling Script Help - by Mr.FeellingLeSS - 10-20-2009, 10:06 AM
RE: Gambling Script Help - by Gaijin - 10-20-2009, 10:10 AM
RE: Gambling Script Help - by Mr.FeellingLeSS - 10-20-2009, 10:23 AM
RE: Gambling Script Help - by Gaijin - 10-20-2009, 10:26 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)