Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How To Scan This Table To See If Name Matches?

Asked by
StoIid 364 Moderation Voter
7 years ago
Edited 7 years ago

Link To Code

I am trying to make the code check if your / the players name is one of the ones in the Table. If this isn't the way to do that, how would I do it correctly?

1 answer

Log in to vote
0
Answered by 7 years ago
if player.Name == v then
    -- etc
end

That was sloppy. Please try harder next time.

Ad

Answer this question