[AJUDA] sscanf
#5

pawn Код:
CMD:pm(playerid, params[])
    {
        new id, text[128];
        if(sscanf(params, "us[128]", id, text)) return SendClientMessage(playerid, -1,"Use: /pm [id/nome] [Texto]");
        format(text, sizeof(text), "0x28DEFFAA %s: 0xFFDC18AA %s", PegarNome(playerid),text);
        SendClientMessage(id, -1, "text");
        SendClientMessage(playerid, 0xE558FFAA, "Messagen Enviada com sucesso");
        return 1;
    }
Reply


Messages In This Thread
[AJUDA] sscanf - by histire - 15.03.2012, 14:34
Re: [AJUDA] sscanf - by Jeffrey_Hatrix Jeffrey_ - 15.03.2012, 14:37
Re: [AJUDA] sscanf - by histire - 15.03.2012, 14:39
Re: [AJUDA] sscanf - by Jeffrey_Hatrix Jeffrey_ - 15.03.2012, 14:40
Re: [AJUDA] sscanf - by histire - 15.03.2012, 14:52
Re: [AJUDA] sscanf - by Lуs - 15.03.2012, 14:55
Re: [AJUDA] sscanf - by Jeffrey_Hatrix Jeffrey_ - 15.03.2012, 14:56

Forum Jump:


Users browsing this thread: 5 Guest(s)