08.10.2013, 11:10
Quote:
I assume this is from line 95890 because I can see "name" but not "seek".
pawn Код:
|
Код:
C:\Documents and Settings\Ashley\Desktop\DSRP1\gamemodes\RZRP.pwn(4905) : warning 203: symbol is never used: "seek" C:\Documents and Settings\Ashley\Desktop\DSRP1\gamemodes\RZRP.pwn(4936) : warning 203: symbol is never used: "seek" C:\Documents and Settings\Ashley\Desktop\DSRP1\gamemodes\RZRP.pwn(96058) : error 017: undefined symbol "string" C:\Documents and Settings\Ashley\Desktop\DSRP1\gamemodes\RZRP.pwn(96058) : error 017: undefined symbol "string" C:\Documents and Settings\Ashley\Desktop\DSRP1\gamemodes\RZRP.pwn(96058) : error 029: invalid expression, assumed zero C:\Documents and Settings\Ashley\Desktop\DSRP1\gamemodes\RZRP.pwn(96058) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
pawn Код:
SendAudioToRange(audioid, volume, seek, Float:x, Float:y, Float:z, Float:range) // this is line 4905
{
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);
//Audio_SetPosition(playerid, handleid, seconds);
audiohandle[i][audiohandleglobal] = localhandle;
}
}
}
}
return audiohandleglobal;
}
stock SendAudioURLToRange(url[], volume, seek, Float:x, Float:y, Float:z, Float:range) // line 4936
{
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);
//Audio_SetPosition(playerid, handleid, seconds);
audiohandle[i][audiohandleglobal] = localhandle;
}
}
}
}
return audiohandleglobal;
}