Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gambling Script Help
#1
hey guys.

I'm making a gambling script(will be posting it soon) but am i running against a problem.

error:
Code:
Traceback (most recent call last):
  File "C:\Python26\py2exe GUI\Kopie van gambling proto.py", line 217, in <module>
    print "You won by colour! Profit: "+rnwoncash
TypeError: cannot concatenate 'str' and 'int' objects

script part:
Code:
elif rnuserchosencolour==rnchosencolour:
            (line217)print "You won by colour! Profit: "+rnwoncash
                        rmoney+=rnwoncash
    (this last lines are to stop looping)
                        xxx-=1
                        rightnumberbet-=1
                        rightbet-=1
                        wrongin-=1


so can you guys help me?( rnwoncash is a number)
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: 6 Guest(s)