Jump to content

Help please mta bug?


ilnaz

Recommended Posts

Posted

function NameFunc (text)

if string.find(text, "46.") then

return true

else

return false

end

end

 

NameFunc ("460") -- returned true, wtf!?

Posted

if string.find(text, "46.") then  <<<<<<< THIS

basically return u true on every number(string) where in text it found numbers like 46 460 046 , 464646 46000... basically every time it goes true when the 46 is writed, and what u want to do?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...