06.11.2018, 17:59
Good morning/afternoon/evening ... I have a problem and I want to enter my server with a single name, my server is Roleplay, and clearly the name format is Firstname_Name but I do not roleplay, I will simply administer the server, therefore I want to use only one Name: Horizon. I want to know how I can do it, since I have a System that prevents people from entering without the format:
So, basically I want to enter only with the name "Horizon"
Code:
if(strfind(Nombre(playerid), "_", true) == -1 || EncontroNumeroCaracter(playerid)) { Mensaje(playerid, COLOR_AMARILLO3, "| -=== Horizon RolePlay ===- |"); Mensaje(playerid, COLOR_AMARILLO3, "Your name must be in the FirstName_Name format. Example: Juan_Perez"); Kick(playerid); return 1; }