undefined symbol "AttachStreamToObject" - 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: undefined symbol "AttachStreamToObject" (
/showthread.php?tid=438448)
undefined symbol "AttachStreamToObject" -
Crossfire1989 - 20.05.2013
Код:
if(strcmp(cmdtext, "/siren1", true) == 0)
{
siren1[playerid] = CreateObject(2226,0,0,0,0,0,0);
new Float:VPos[3];
GetVehiclePos(playerid,VPos[0],VPos[1],VPos[2]);
AttachObjectToVehicle(siren1[playerid], GetPlayerVehicleID(playerid), 0.409729004, 0.526367188, 0.206963539, 0, 0, 0);
line 67504=AttachStreamToObject(siren1[playerid], 20.0, "http://k005.kiwi6.com/hotlink/gc1opmx6w5/federal_q2a.mp3");
return 1;
}
how would i define AttachStreamToObject?
here is the Error Line (67504) : error 017: undefined symbol "AttachStreamToObject"
Re: undefined symbol "AttachStreamToObject" -
DaRk_RaiN - 20.05.2013
Use this include
https://sampforum.blast.hk/showthread.php?tid=331533
Re: undefined symbol "AttachStreamToObject" -
Crossfire1989 - 20.05.2013
im using that include
now i get these
C:\Users\Gharrett\Desktop\Rebel Gaming\pawno\include\AttachStreamToObject.inc(79) : error 010: invalid function or declaration
C:\Users\Gharrett\Desktop\Rebel Gaming\pawno\include\AttachStreamToObject.inc(82) : error 010: invalid function or declaration
C:\Users\Gharrett\Desktop\Rebel Gaming\pawno\include\AttachStreamToObject.inc(105) : error 017: undefined symbol "gStreamObject"
C:\Users\Gharrett\Desktop\Rebel Gaming\pawno\include\AttachStreamToObject.inc(105) : warning 215: expression has no effect
C:\Users\Gharrett\Desktop\Rebel Gaming\pawno\include\AttachStreamToObject.inc(105) : error 001: expected token: ";", but found "]"
C:\Users\Gharrett\Desktop\Rebel Gaming\pawno\include\AttachStreamToObject.inc(105) : error 029: invalid expression, assumed zero
C:\Users\Gharrett\Desktop\Rebel Gaming\pawno\include\AttachStreamToObject.inc(105) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.