[Ajuda] Radio em strcmp
#1

Resolvido !
Reply
#2

Troque

CMD:mp3(playerid)

para

if(strcmp(cmdtext, "/mp3", true))

KABUM !
Reply
#3

pawn Код:
if(strcmp("/radion", cmdtext, true, 7) == 0)
{

    PlayAudioStreamForPlayer(playerid, "URL DA RADIO AQUI");
    return 1;
}
pawn Код:
if(strcmp("/radioff", cmdtext, true, 8) == 0)
{

    StopAudioStreamForPlayer(playerid);
    return 1;
}
e dificil isso ?
Reply
#4

Resolvido !
Reply
#5

Yeah !
Reply
#6

Resolvido !
Reply
#7

Pela Mor de deus hein Coringa kkk
Reply
#8

Resolvido !
Reply
#9

pawn Код:
if(!strcmp(cmdtext, "/mp3", true))
Reply
#10

Resolvido !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)