[Ajuda] Code Gritar
#1

Intгo meu sistema de gritar tб compilando certinho e tals mais na hora que eu aperto pra solta o aъdio nгo sai code abaixo

PHP код:
if(dialogid == DIALOG_GRITAR//PГµem em OnDialogResponse
        
{
            if(
response)
            {
                if(
listitem == 0)
                {
                    for(new 
0MAX_PLAYERSi++)
                    {
                        if(
IsPlayerConnected(i))
                        {
                            new 
Float:xFloat:yFloat:z;
                            
GetPlayerPos(playeridxyz);
                            
SendClientMessage(playeridCOLOR_WHITE"[GRITO]: Estб Gritando Na Guerra");
                            
PlayAudioStreamForPlayer(playerid,"https://aladfar.sscdn.co/palcomp3/4/c/7/0/Tamodesoci-audio-cmd-3-e1052fcf.mp3"XYZ20.01);
                        }
                    }
                }
                if(
listitem == 1)
                {
                    for(new 
0MAX_PLAYERSi++)
                    {
                        if(
IsPlayerConnected(i))
                        {
                            new 
Float:xFloat:yFloat:z;
                            
GetPlayerPos(playeridxyz);
                            
SendClientMessage(playeridCOLOR_WHITE"[GRITO]: Estб Gritando Na Guerra");
                            
PlayAudioStreamForPlayer(playerid,"https://alamach.sscdn.co/palcomp3/6/4/4/6/Tamodesoci-audio-3cp-2-0bce8067.mp3"XYZ20.01);
                        }
                    }
                }
                if(
listitem == 2)
                {
                    for(new 
0MAX_PLAYERSi++)
                    {
                        if(
IsPlayerConnected(i))
                        {
                            new 
Float:xFloat:yFloat:z;
                            
GetPlayerPos(playeridxyz);
                            
SendClientMessage(playeridCOLOR_WHITE"[GRITO]: Estб Gritando Na Guerra");
                            
PlayAudioStreamForPlayer(playerid,"https://adara.sscdn.co/palcomp3/b/c/d/5/Tamodesoci-audio-lll-1-f4877ed5.mp3"XYZ20.01);
                        }
                    }
                }
                if(
listitem == 3)
                {
                    for(new 
0MAX_PLAYERSi++)
                    {
                        if(
IsPlayerConnected(i))
                        {
                            new 
Float:xFloat:yFloat:z;
                            
GetPlayerPos(playeridxyz);
                            
SendClientMessage(playeridCOLOR_WHITE"[GRITO]: Estб Gritando Na Guerra");
                            
PlayAudioStreamForPlayer(playerid,"https://japeto.sscdn.co/palcomp3/4/c/9/7/Tamodesoci-audio-1-mlc-ee8928f4.mp3"XYZ20.01);
                        }
                    }
                }
                if(
listitem == 4)
                {
                    for(new 
0MAX_PLAYERSi++)
                    {
                        if(
IsPlayerConnected(i))
                        {
                            new 
Float:xFloat:yFloat:z;
                            
GetPlayerPos(playeridxyz);
                            
SendClientMessage(playeridCOLOR_WHITE"[GRITO]: Estб Gritando Na Guerra");
                            
PlayAudioStreamForPlayer(playerid,"https://adara.sscdn.co/palcomp3/a/3/c/c/Tamodesoci-audio-ext-3-7477ae78.mp3"XYZ20.01);
                        }
                    }
                }
            }
        }
CMD:gritar(playeridparams[])
{
    
ShowPlayerDialog(playeridDIALOG_GRITARDIALOG_STYLE_LIST"Grito De Guerra""{cd0000}CMD\n{FFFF00}TD3\n{0000ff}LLL\n{ff9409}MLC\n{a4a4a4}ORGS""OK""Cancelar");
    return 
true;

Reply


Messages In This Thread
Code Gritar - by Dimbalada - 20.03.2018, 22:28
Re: Code Gritar - by Injury - 20.03.2018, 22:50
Re: Code Gritar - by YCharlieY - 20.03.2018, 23:02
Re: Code Gritar - by Dimbalada - 20.03.2018, 23:20
Re: Code Gritar - by Gguiz - 20.03.2018, 23:37
Re: Code Gritar - by Dimbalada - 20.03.2018, 23:47
Re: Code Gritar - by Gguiz - 20.03.2018, 23:56
Re: Code Gritar - by Injury - 21.03.2018, 00:04
Re: Code Gritar - by Dimbalada - 21.03.2018, 00:10
Re: Code Gritar - by Dimbalada - 21.03.2018, 20:46

Forum Jump:


Users browsing this thread: 1 Guest(s)