29.06.2014, 08:58
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:
Part of the script:
P.S. I am still searching for some good scripters, so if someone is interested. :/
Cheers,
Bradleyornot
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