[Ajuda] Problema com sscanf.
#5

pawn Код:
CMD:p(playerid, params[])
{
    new mesagem[80], str[128];
    if(sscanf(params, "s[128]", mesagem)) return SendClientMessage(playerid, -1, "{FFFE10}|| INFO ||{FFFFFF} /p [menssagem]");
    for(new P=0; P < MAX_PLAYERS; P++)
    {
        if(GetDistanceBetweenPlayers(playerid, P) < 25)
        {
            format(str, sizeof(str), "{FF90EE}|| Prуximo || %s diz: %s", Nome(playerid), mesagem);
            SendClientMessage(P, -1, str);
         }
    }
    return 1;
}
Reply


Messages In This Thread
Problema com sscanf. - by Ley - 06.10.2012, 15:28
Re: Problema com sscanf. - by .FuneraL. - 06.10.2012, 15:36
Re: Problema com sscanf. - by ViniBorn - 06.10.2012, 15:37
Re: Problema com sscanf. - by Ley - 06.10.2012, 15:44
Re: Problema com sscanf. - by .FuneraL. - 06.10.2012, 15:50
Re: Problema com sscanf. - by dPlaYer_ - 06.10.2012, 16:11
Re: Problema com sscanf. - by Ley - 06.10.2012, 17:02
Re: Problema com sscanf. - by ViniBorn - 06.10.2012, 20:23
Re: Problema com sscanf. - by OnlyOne - 06.10.2012, 20:32

Forum Jump:


Users browsing this thread: 1 Guest(s)