Strange bug
#5

PHP код:
public OnPlayerEnterDynamicArea(playeridareaid)
{
    if(
areaid == CG)
    {
        
SetPlayerArmedWeapon(playerid0);
    }
    foreach(new 
iPlayer)
    {
        if(
GetPVarType(i"pBoomBoxArea"))
        {
            if(
areaid == GetPVarInt(i"pBoomBoxArea"))
            {
                new 
station[256];
                
GetPVarString(i"pBoomBoxStation"stationsizeof(station));
                if(!
isnull(station))
                {
                    
PlayAudioStreamForPlayerEx(playeridstationGetPVarFloat(i"pBoomBoxX"), GetPVarFloat(i"pBoomBoxY"), GetPVarFloat(i"pBoomBoxZ"), 30.01);
                }
                return 
1;
            }
        }
    }
    if(
areaid == audiourlid)
    {
        
PlayAudioStreamForPlayerEx(playeridaudiourlurlaudiourlparams[0], audiourlparams[1], audiourlparams[2], audiourlparams[3], 1);
    }
    

            
        
    return 
1;

Reply


Messages In This Thread
Strange bug - by StrikerZ - 04.03.2017, 01:27
Re: Strange bug - by Toroi - 04.03.2017, 01:34
Re: Strange bug - by StrikerZ - 04.03.2017, 01:35
Re: Strange bug - by Toroi - 04.03.2017, 01:40
Re: Strange bug - by StrikerZ - 04.03.2017, 01:59
Re: Strange bug - by StrikerZ - 04.03.2017, 02:19
Re: Strange bug - by Toroi - 04.03.2017, 02:32
Re: Strange bug - by StrikerZ - 04.03.2017, 04:17

Forum Jump:


Users browsing this thread: 1 Guest(s)