[Ajuda] Bug sscanf?
#4

pawn Код:
CMD:av(playerid, params[])
{
    new xMotivo [ 56 ] ;
    if(PlayerDados[playerid][pAdmin] < 1)                       return SendClientMessage(playerid, CorErro, "Vocк precisa ser uma Administrador level 1 para usar este comando");
    if(pJogando[playerid] == true)                              return SendClientMessage(playerid, CorErro, "Vocк nгo estб trabalhando!");
    if(sscanf(params, "s[56]", xMotivo))                         return SendClientMessage(playerid, CorErroNeutro, "USE: /av [TEXTO]");
    SendClientMessageToAll(Branco, " ");
    format(Str, 256, "ADM: %s avisa: %s", pNomeOriginal[playerid], xMotivo);
    SendClientMessageToAll(AzulRoyal, Str);
    SendClientMessageToAll(Branco, " ");
    return 1;
}
se nгo funcionar, atualize a include sscanf
Reply


Messages In This Thread
Bug sscanf? - by Wellington1999 - 26.11.2013, 21:47
Re: Bug sscanf? - by WLSF - 26.11.2013, 21:49
Re: Bug sscanf? - by Wellington1999 - 26.11.2013, 21:51
Re: Bug sscanf? - by smiiir - 26.11.2013, 21:56
Re: Bug sscanf? - by WLSF - 26.11.2013, 21:59
Re: Bug sscanf? - by Wellington1999 - 26.11.2013, 22:01
Re: Bug sscanf? - by WLSF - 26.11.2013, 22:03
Re: Bug sscanf? - by Wellington1999 - 26.11.2013, 22:09

Forum Jump:


Users browsing this thread: 4 Guest(s)