26.06.2014, 14:39
Buenas, tengo una duda..
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?
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; } |