How can I check if [MG] is in a player's name?
I know that I use Player.Nick, but I need to figure out how to check if the characters "[MG]" are in the player's name somewhere.
Thanks for the help :D
[lua]
if (string.find(ply:Nick(), "[MG]") != nil) then
[/lua]
This what you're looking for?
Sorry, you need to Log In to post a reply to this thread.