[Ajuda] Bafometro
#1

Obrigado a todods que me ajudaram, consegui fazer o sistema e melhora-lo!
Agradecimento: Sky_.
Reply
#2

Posta a linha acima
Reply
#3

Ja postei
Reply
#4

Expressгo dos argumentos sгo incorretas, olhe a sintaxe(+, +=, -, -=. *, *=, /, /=)
Para mais informaзхes..: https://sampforum.blast.hk/showthread.php?tid=252966
Reply
#5

pawn Код:
COMMAND:bafometro(playerid, params[])
{
    new
        OtherPlayer
        _sx[ 50 ];
    ;

    OtherPlayer = strval( params );

    if(isnull( params ) ) return SendClientMessage( playerid, -1, "{FF0000}/bafometro [id]");

    if (APlayerData[playerid][LoggedIn] == true){
        if (APlayerData[playerid][PlayerClass] == ClassPolice){
            if(IsPlayerConnected(OtherPlayer))  {
                format(_sx, sizeof(_sx), "O nivel alcoolico do player e %s", GetPlayerDrunkLevel(OtherPlayer));
                SendClientMessage(playerid, _sx);
            }
        }
        else
        {
            SendClientMessage(playerid, COR_VERMELHA, "Voce nao e um PM");
        }
    }
    return 1;
}
Reply
#6

SendClientMessage(playerid "O nivel alcoolico do player e %s", NivelAlcoolico);

Reply
#7

Obrigado a todos
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)