undefined symbol "AttachStreamToObject"
#1

Код:
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"
Reply
#2

Use this include
https://sampforum.blast.hk/showthread.php?tid=331533
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)