[Help] Comando /falar
#1

pawn Код:
CMD:falar(playerid, params[])
{
    new Texto[128], string[128];
    if(JogadorInfo[playerid][lAdmin] < 1) return SendClientMessage(playerid, GREEN, "Vocк nгo й admin!!");
    if(sscanf(params, "r", Texto)) return SendClientMessage(playerid, GREEN, "USE : /falar [texto]");
    GetPlayerName(playerid, Texto, sizeof(Texto));
    format(string, sizeof(string), "[ADMIN] : %s",  Texto);
    SendClientMessageToAll(GREEN, string);
   
    return 1;
}
O problema й que quando printa na tela, sai o seguinte : "[ADMIN] : NomeDoAdmin", e eu preciso [ADMIN] : Msg.
Reply


Messages In This Thread
[Help] Comando /falar - by mengueh - 12.05.2012, 06:27
Re: [Help] Comando /falar - by zSuYaNw - 12.05.2012, 06:43
Re: [Help] Comando /falar - by mengueh - 12.05.2012, 06:45
Re: [Help] Comando /falar - by zSuYaNw - 12.05.2012, 07:49
Re: [Help] Comando /falar - by Don_Speed - 12.05.2012, 11:23
Re: [Help] Comando /falar - by RebeloX - 12.05.2012, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)