SA-MP Forums Archive
Compiling errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Compiling errors (/showthread.php?tid=479284)



Compiling errors - Spazz1219 - 04.12.2013

Errors:
(4000) : error 017: undefined symbol "Audio_SetPosition"
(3999) : warning 204: symbol is assigned a value that is never used: "localhandle"
(4071) : error 017: undefined symbol "Audio_SetPosition"
(4050) : warning 203: symbol is never used: "volume"
(4101) : error 017: undefined symbol "Audio_SetPosition"
(4080) : warning 203: symbol is never used: "seek"
(13721) : warning 202: number of arguments does not match definition
(13775) : warning 202: number of arguments does not match definition
(24980) : error 017: undefined symbol "foreach"
(24980) : error 029: invalid expression, assumed zero
(24980) : error 017: undefined symbol "Player"
(24980) : fatal error 107: too many error messages on one line
Код:
Lines
4000	       Audio_SetPosition(playerid, localhandle, seek);
3999         new localhandle = Audio_Play(playerid,audioid,false,false,false);
4071         Audio_SetPosition(i, localhandle, seek);
4050         SendAudioToRange(audioid, volume, Float:x, Float:y, Float:z, Float:range)
4101         Audio_SetPosition(i, localhandle, seek);
4080         stock SendAudioURLToRange(url[], volume, seek, Float:x, Float:y, Float:z, Float:range)
13721       SendAudioToRange(10300, 100, 0, X, Y, Z, 20.0);
13775       SendAudioToRange(10300, 100, 0, X, Y, Z, 20.0);
24980       foreach(new i: Player)
Note: Line numbers are high due to this being our Gamemode


Re: Compiling errors - gotwarzone - 04.12.2013

Download this [Plugin] Audio Plugin Scroll down at the end of the first post you can find Download.


Re: Compiling errors - Spazz1219 - 04.12.2013

Worked! Thanks a lot!