[AJUDA] Comando
#5

pawn Код:
if(strcmp(cmdtext, "/mudarnick", true) == 0)
{
    new nick[MAX_PLAYER_NAME];
    nick = strtok(cmdtext, idx);
    if(!strlen(nick)) return SendClientMessage(playerid, -1, "USO: /mudarnick [NOVO NICK]");
    new str[55];
    format(str, sizeof(str), "Seu novo nick й %s.", nick);
    SendClientMessage(playerid, -1, str);
    SetPlayerName(playerid, nick);
    if(PlayerInfo[playerid][Logged] == 0) return SendClientMessage(playerid, -1, " Vocк nгo estб logado(a).");
    return 0x01;
}
Reply


Messages In This Thread
[AJUDA] Comando - by lincon c - 07.06.2011, 23:10
Re: [AJUDA] Comando - by TheGarfield - 07.06.2011, 23:17
Re: [AJUDA] Comando - by Shadoww5 - 07.06.2011, 23:18
Re: [AJUDA] Comando - by lincon c - 07.06.2011, 23:23
Re: [AJUDA] Comando - by Ricop522 - 08.06.2011, 01:31
Re: [AJUDA] Comando - by TheGarfield - 08.06.2011, 01:35

Forum Jump:


Users browsing this thread: 1 Guest(s)