[Ajuda] Warning com Sscanf
#2

Parametros de sscanf errados, vocк nгo definiu a string sscanf.

Leia sobre. https://sampforum.blast.hk/showthread.php?tid=277842

Ou

pequeno exemplo...
pawn Код:
CMD:av(playerid, params[])
{
    if(IsPlayerAdmin(playerid))
    {
        if(sscanf(params, "s[50]",texto)) //  --> [50] tamanho
        {
            SendClientMessage(playerid,-1,"Use: /av [texto]");
        }
        else
        {
            GetPlayerName(playerid,nome,sizeof(nome));
            format(Str, sizeof(Str),"Admin %s [ID:%d]: %s",nome,playerid,texto);
            SendClientMessageToAll(-1,Str);
        }
    }
    else SendClientMessage(playerid,-1,"Vocк nгo esta logado na rcon");
    return true;
}
Reply


Messages In This Thread
Warning com Sscanf - by zuero - 14.07.2014, 19:07
Re: Warning com Sscanf - by SeV_ - 14.07.2014, 19:13
Re: Warning com Sscanf - by Ts3 - 14.07.2014, 19:15
Re: Warning com Sscanf - by zuero - 14.07.2014, 19:17
Re: Warning com Sscanf - by SeV_ - 14.07.2014, 19:19
Re: Warning com Sscanf - by zuero - 14.07.2014, 19:37
Re: Warning com Sscanf - by Russo66 - 14.07.2014, 20:24
Re: Warning com Sscanf - by zuero - 14.07.2014, 22:35

Forum Jump:


Users browsing this thread: 4 Guest(s)