Jump to content

Recommended Posts

Hey guys, 
So wanted to implement the switch for normal stats , uiswitch.py. But as i saw for many its creating some problems

The system works well , but the changers count is not decreasing each time we switch, and its outputting this error in syserr.

 

Quote

1111 15:32:41995 :: Traceback (most recent call last):

1111 15:32:41995 ::   File "uiswitch.py", line 161, in OnUpdate

1111 15:32:41995 ::   File "uiswitch.py", line 140, in refresh

1111 15:32:41995 :: TypeError
1111 15:32:41995 :: : 
1111 15:32:41995 :: an integer is required
1111 15:32:41995 :: 



This is the uiswitch.py used on the client. 

https://pastebin.com/udgwPF2G

Thanks

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.