Jump to content

[HELP] string.find


xXGhostXx

Recommended Posts

Hi guys.

I try to use string.find with table.

characters = {
	["a"] = true, ["b"] = true, ["c"] = true,
}

function test (username)
	if string.find(username, characters[username]) then
    else
    	outputChatBox("This is invalid character!",source)
    end
end

What is my problem ?

Link to post
5 minutes ago, xXGhostXx said:

help!

Even after you received my warning, you are still continuing with bumping 2x. The content of those messages are not useful in anyway and very annoying for everybody, therefore I consider them as spam.

Locked

Link to post
  • IIYAMA locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...