[ayuda] Necesito ayuda [porfavor]
#9

Chaoz, tu codigo no funcionara ya que no se puede tener espacios en el nombre.
O eso creo xD

Acabo de notar un error en el codigo. Pusiste "srcmp" en vez de "strcmp".

pawn Код:
public OnPlayerConnect(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    if(!strcmp(name, "tu_nick", false)){
        new str[MAX_PLAYER_NAME+13];
        format(str, sizeof(str), "[admin.dueсo]%s", name);
        SetPlayerName(playerid, str);
    }
    return 1;
}
Asi si funcionara.
PD: Reemplaze el " " por un ".", ya que no estaba seguro de que funcionase de la otra forma.
Reply


Messages In This Thread
[ayuda] Necesito ayuda [porfavor] - by crosas1234 - 21.02.2011, 22:32
Respuesta: [ayuda] Necesito ayuda [porfavor] - by Lunnatiicz - 21.02.2011, 23:11
Re: [ayuda] Necesito ayuda [porfavor] - by murdoxix - 22.02.2011, 14:33
Respuesta: [ayuda] Necesito ayuda [porfavor] - by Lunnatiicz - 22.02.2011, 18:36
Respuesta: [ayuda] Necesito ayuda [porfavor] - by TheChaoz - 23.02.2011, 00:20
Respuesta: [ayuda] Necesito ayuda [porfavor] - by Lunnatiicz - 10.03.2011, 03:18
Respuesta: [ayuda] Necesito ayuda [porfavor] - by TheChaoz - 11.03.2011, 01:24
Respuesta: [ayuda] Necesito ayuda [porfavor] - by Lunnatiicz - 11.03.2011, 01:26
Respuesta: [ayuda] Necesito ayuda [porfavor] - by leaNN! - 11.03.2011, 11:46
Respuesta: [ayuda] Necesito ayuda [porfavor] - by SuperMarioRol - 11.03.2011, 13:32

Forum Jump:


Users browsing this thread: 1 Guest(s)