Duda Nombre " _ "
#1

Buenas, tengo una duda..

Quote:

new namestring = strfind(plname, "_", true);
if(namestring == -1)
{
new string[256];
GetPlayerName(playerid, sendername, sizeof(sendername));
SendClientMessage(playerid, COLOR_BLACK, "_________________________________________________ ________________________");
SendClientMessage(playerid, COLOR_YELLOW, "Importante Para Jugar en el Servidor");
SendClientMessage(playerid, COLOR_WHITE, " Ponte Tu Nombre Nombre_Apellido Realista EJ: Carlos_Marin");
SendClientMessage(playerid, COLOR_WHITE, " Presta Mucha Atencion Joder!!");
SendClientMessage(playerid, COLOR_BLACK, "_________________________________________________ ________________________");
format(string, sizeof(string), "Administracio: Kickeo ha %s Motivo: Usa Nombre_Apellido ", sendername);
SendClientMessageToAll(COLOR_RED, string);
Kick(playerid);
return 1;
}

Yo quiero que yo solo pueda entrar si el " _ ", osea que entre con Ibiza01 y que no me pida los simbolos solo ah los users intente de algunas formas que encontre pero no funcionaron?
Reply


Messages In This Thread
Duda Nombre " _ " - by Ibiza01 - 26.06.2014, 14:39
Respuesta: Duda Nombre " _ " - by Zume - 26.06.2014, 15:19

Forum Jump:


Users browsing this thread: