Jump to content

samgreen

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by samgreen

  1. You should not compare floating point numbers like this. It is best to compare them with an epsilon value as such: local epsilon = 0.0000001 function compareFloats(a, b) if math.abs(a - b) < epsilon then return true end return false end I have not tested this code. Good luck! http://lua-users.org/wiki/FloatingPoint
  2. You can't access the site at the moment, it should be available again soon though. It is still available in Google's cache. I have no idea why the author decided to get stingy with this information all of a sudden. Sounds more like something they would do at the other San Andreas multiplayer mod.
×
×
  • Create New...