Strange bug.
#1

So i have a register system and when a player connects it check's if the player is registered:

pawn Код:
GetPlayerName(playerid, PlayerName[playerid], MAX_PLAYER_NAME);
format(string, sizeof(string), "Accounts/%s.ini",PlayerName[playerid]);
if(fexist(string))
{
  PlayerRegistered[playerid] = 1;
}
Today i discovered that if a player comes in with Name_Surname, name_surname, NaMe_SuRnAmE, or any other variation of this name the script still returns that he's registered.

How can i make that only if he's name is in this format: Name_Surname, the script returns that he's registered ?

Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)