Some annoying warnings - HELP!
#1

Sup guys,

I got some annoying warnings (2 to be precisely), and I want to remove them, but everything I do, doesn't work.

Warnings:
pawn Код:
C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V4.0\gamemodes\EXRPR48.pwn(4462) : warning 203: symbol is never used: "seek"
C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V4.0\gamemodes\EXRPR48.pwn(4492) : warning 203: symbol is never used: "seek"

Part of the script:
pawn Код:
SendAudioToRange(audioid, volume, seek, Float:x, Float:y, Float:z, Float:range)//4462
{
    if(audiohandleglobal >= 99)
    {
        audiohandleglobal = 0;
    }
    else
    {
        audiohandleglobal++;
    }

    foreach(Player, i)
    {
        if(IsPlayerConnected(i))
        {
            if(Audio_IsClientConnected(i))
            {
                if(IsPlayerInRangeOfPoint(i,range,x,y,z))
                {
                    new localhandle = Audio_Play(i,audioid,false,false,false);
                    Audio_Set3DPosition(i, localhandle, x, y, z, range);
                    Audio_SetVolume(i, localhandle, volume);
                    audiohandle[i][audiohandleglobal] = localhandle;
                }
            }
        }
    }
    return audiohandleglobal;
}

pawn Код:
stock SendAudioURLToRange(url[], volume, seek, Float:x, Float:y, Float:z, Float:range) //4492
{
    if(audiohandleglobal >= 99)
    {
        audiohandleglobal = 0;
    }
    else
    {
        audiohandleglobal++;
    }
    foreach(Player, i)
    {
        if(IsPlayerConnected(i))
        {
            if(Audio_IsClientConnected(i))
            {
                if(IsPlayerInRangeOfPoint(i,range,x,y,z))
                {
                    new localhandle = Audio_PlayStreamed(i,url,false,false,false);
                    Audio_Set3DPosition(i, localhandle, x, y, z, range);
                    Audio_SetVolume(i, localhandle, volume);
                    audiohandle[i][audiohandleglobal] = localhandle;
                }
            }
        }
    }
    return audiohandleglobal;
}

P.S. I am still searching for some good scripters, so if someone is interested. :/

Cheers,
Bradleyornot
Reply


Messages In This Thread
Some annoying warnings - HELP! - by bradleyofniet - 29.06.2014, 08:58
Re: Some annoying warnings - HELP! - by Rittik - 29.06.2014, 09:00
Re: Some annoying warnings - HELP! - by bradleyofniet - 29.06.2014, 09:08
Re: Some annoying warnings - HELP! - by bradleyofniet - 29.06.2014, 09:15
Re: Some annoying warnings - HELP! - by PrivatioBoni - 29.06.2014, 09:19
Re: Some annoying warnings - HELP! - by bradleyofniet - 29.06.2014, 09:24
Re: Some annoying warnings - HELP! - by bradleyofniet - 29.06.2014, 09:28

Forum Jump:


Users browsing this thread: 1 Guest(s)