• Precision Tool
    3 replies, posted
Hi there, I have a problem with my Precision Tool, i want to build in a anti-crash but really have problems to understand that code. I want to fix that push out of map something like that: [CODE]if max = > 100 then max = 100[/CODE] like i told, i don't understand that code, maybe someone of the "Pros" can help me :) thank you
Put an "end" after "100"
ok you missunderstood it, I know the clauses, but i don't understand that code :)
You should really use math.Clamp() instead, all this does is check if max is over 100, max could be -100000000000 or something and the prop would go out the map in the opposite direction.
Sorry, you need to Log In to post a reply to this thread.