Jump to content

'PACI

Banned
  • Posts

    1
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by 'PACI

  1. if not tonumber(line) and not bAllLines then  return end

    I've seen a similar function made like 2/3 years ago (can even tell you that some var names are equal), but yours seems better. Nice one :)

    Just a tip.

    if type(tonumber(line)) ~= "number" and not bAllLines then  return end

    The tonumber() function tries to convert the arg into a number, if it can't do that, it'll return a nil value, so you can do this instead:

    if not tonumber(line) and not bAllLines then  return end
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.