so here it is i dont know if i am not doing it right or what
here:
if(Money <= 3000) {
Money -= 3000;
HasMP7 = true;
}
Thanks!
so here it is i dont know if i am not doing it right or what
here:
if(Money <= 3000) {
Money -= 3000;
HasMP7 = true;
}
Thanks!
You are using “less than or equal” (<=), not “greater than or equal” (>=)
Keep in mind that the number you want to be smallest should always be on the side that grows smaller.
Also, next time you post, be more descriptive. I almost didn’t catch your problem. Try to answer questions like these for us before we even ask, so that we can help you quicker:
What do you expect to happen and what are you getting?
What type is Money?
Are you programming in C# or UnityScript?
Okay thanks
– logang