Jump to content

string.find ?


Dice

Recommended Posts

Hi. How are you?

if not string.find(getPlayerName ( getLocalPlayer() ), "[ClanTag]", 1 ) Curious on how to make it more narrow, with this line if someone has the name [Cl it will work. How can i make it so you literally have to have your name as [ClanTag]

Link to comment

ok works thanks, but the problem I was orginally having is let's say a players clantag is RN6 the if someone has the name RN or something, they will be able to pass, I need it to have the whole thing RN6 not just RN or N6

Link to comment

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...