Strange bug
#1

When I go near Los santos's airport's entrance or ahead i get crashed, not me ,everyone who goes near that area. There are no mappings in that area. And only happens if we're in a plane.
Reply
#2

Are you using a streamer?
Is it other's gamemode or is it a self made one?
Reply
#3

Yes I use Streamer.
Reply
#4

Show us your OnPlayerEnterDynamicArea, please
Reply
#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
#6

Got anything bud?
Reply
#7

Comment off all these and test in game.

PHP код:
public OnPlayerEnterDynamicArea(playeridareaid)
{
/*    if(areaid == CG)
    {
        SetPlayerArmedWeapon(playerid, 0);
    }
    foreach(new i: Player)
    {
        if(GetPVarType(i, "pBoomBoxArea"))
        {
            if(areaid == GetPVarInt(i, "pBoomBoxArea"))
            {
                new station[256];
                GetPVarString(i, "pBoomBoxStation", station, sizeof(station));
                if(!isnull(station))
                {
                    PlayAudioStreamForPlayerEx(playerid, station, GetPVarFloat(i, "pBoomBoxX"), GetPVarFloat(i, "pBoomBoxY"), GetPVarFloat(i, "pBoomBoxZ"), 30.0, 1);
                }
                return 1;
            }
        }
    }
    if(areaid == audiourlid)
    {
        PlayAudioStreamForPlayerEx(playerid, audiourlurl, audiourlparams[0], audiourlparams[1], audiourlparams[2], audiourlparams[3], 1);
    }
    

            
        */
    
return 1;

Reply
#8

Didn't worked.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)