[Ajuda] ajuda com PlayerPlaySound
#1

entгo pessoal estava querendo fazer um sistema de radio que quando o player digitasse o comando, iria
tocar o som, sу que ele fica repetindo varias vezes e queria saber como consertar isso

PHP Code:

for(new 0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if(
Player[i][pOrg] == org)
            {
                new 
Float:xFloat:yFloat:z;
                
GetPlayerPos(ixyz);
                
PlayerPlaySound(i2xyz);
            }
        } 
Obs.: fiz esse looping, para que todos os players que estгo na org ouvir o som.
Reply


Messages In This Thread
ajuda com PlayerPlaySound - by Feconito - 31.01.2019, 19:44
Re: ajuda com PlayerPlaySound - by NWDMadara - 31.01.2019, 19:51
Re: ajuda com PlayerPlaySound - by Feconito - 31.01.2019, 19:59
Re: ajuda com PlayerPlaySound - by NWDMadara - 31.01.2019, 20:05
Re: ajuda com PlayerPlaySound - by Feconito - 31.01.2019, 20:27
Re: ajuda com PlayerPlaySound - by NWDMadara - 31.01.2019, 20:40
Re: ajuda com PlayerPlaySound - by Feconito - 31.01.2019, 21:25
Re: ajuda com PlayerPlaySound - by Feconito - 31.01.2019, 21:28
Re: ajuda com PlayerPlaySound - by NWDMadara - 31.01.2019, 21:56
Re: ajuda com PlayerPlaySound - by Feconito - 31.01.2019, 22:59

Forum Jump:


Users browsing this thread: 4 Guest(s)