[Ajuda] - Comando para Parar Musica e Animaзгo
#1

ae galera, preciso urgente de um comando para parar a musica
pawn Код:
PlayAudioStreamForPlayer(playerid);
e um comando para parar a animaзгo, exemplo:

pawn Код:
/parardj

StopAudioStreamForPlayer(playerid);
ClearAnimations(playerid);
quem puder me ajudar, eu agradeзo! Obrigado
Reply
#2

estб certo assim?

pawn Код:
if (strcmp(cmd, "/parardj", true) == 0)
    {    
     StopAudioStreamForPlayer(playerid);
     ClearAnimations(playerid);    
}
Reply
#3

pawn Код:
CMD:pararmusica(playerid) return StopAudioStreamForPlayer(playerid);

CMD:parardj(playerid) return ClearAnimations(playerid);
Reply
#4

StopAudioStreamForPlayer e ClearAnimations.
Reply
#5

Sem post's duplos.

pawn Код:
if(!strcmp(cmdtext, "/parardj", true))
    {
        StopAudioStreamForPlayer(playerid);
        ClearAnimations(playerid);
        SetPlayerSpecialAction(playerid, 0);
        return 1;
    }
Reply
#6


pawn Код:
if(!strcmp(cmdtext, "/parardj", true))
{
    StopAudioStreamForPlayer(playerid);
    ClearAnimations(playerid);
    SetPlayerSpecialAction(playerid, 0);
    return 1;
}

//OU

CMD:parardj(playerid)
{
    StopAudioStreamForPlayer(playerid);
    ClearAnimations(playerid);
    SetPlayerSpecialAction(playerid, 0);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)