Checking for valid name in /changename
#1

Does anybody have a IsValidName function that detects if a name has any bad symbols. I don't want someone to make a name like "poop\/" and complain that he cant join back in to change it.

If there is no function, can someone tell me the symbols that aren't allowed in a name?
Reply
#2

pawn Код:
strfind(string,"@",true,1)return 0;//You found @
Reply
#3

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
pawn Код:
strfind(string,"@",true,1)return 0;//You found @
I know, I said what SYMBOLS ARE NOT ALLOWED IN A NAME?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)