open.mp
open.mp copied to clipboard
AllowNickNameCharacter
trafficstars
Basically I have added this to OnGameModeInit:
AllowNickNameCharacter('-', true);
Now in client, I set my nickname as "T-N-Z" but I can't connect to my own server, I get error message that my nickname is too short. When I click TAB, I see that my nickname in-game is just "T". When I try to connect with my clan tag "[BFH]T-N-Z", once connected, my nickname is changed to "[BFH]T".
It seems that "-" character is still getting ignored, I am not sure if that's client or server issue.
I think it's client issue, the same thing happens if you replace - to space so it will be "T N Z", when you see tab, your nickname are just T