© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
25 replies
railedfrombehind

❔ Getting The number when it goes over 100?

Hi, ive been trying to learn c# for a few weeks and ive ran into a problem and cant properly word it to search google with, i have 2 objects where i can walk into them and they give points, the points value is 70 and everytime points go to 100, it resets the points back to 0 which is kinda as intended? Im sure youve lost many brain cells trying to read this but my problem is that i want the value to be 70 but when i pick another drop back up i dont want it to go to 0 but to go to 40...? if no one understands this pls lmk, ill try give it another go XD
I Do apologise.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Get Random number between 0 -100 error
C#CC# / help
3y ago
needed to get 100 pairs of number find all the biggest numbers output is the lowest number
C#CC# / help
3y ago
Game Over screen when obstacle hit
C#CC# / help
2y ago
Getting a random number from 1 to 10
C#CC# / help
3y ago