Divide by 0 in Developer Help
|
|
Ha, threw you off with the topic, anyways I'm trying to figure out how to, instead of getting the error of dividing by 0, how do I make it replace the bug and just say something simple like, Division by 0 attempted. Instead of 5-6 long lines of red evil on the eyes text?
Is it possible to actually go in and change byond built in processes? I've got it on things like Repop, but I'm unsure on how to do it for like if(3/0) how would you modify /0 to say instead Hey, you cant Divide by 0!
(And I know this really isn't the place but I hate to bump old threads >.> no one has replied) id=679457
|
If you want to avoid 0 division by having a higher divisble number, ex: 1, use max().