SA-MP Forums Archive
Compile Error Please Help - 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: Compile Error Please Help (/showthread.php?tid=374488)



Compile Error Please Help - Geeboi_Mehdi - 03.09.2012

pawn Код:
native MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed, Float:rx = -1000.0, Float:ry = -1000.0, Float:rz = -1000.0);
I got this:
pawn Код:
C:\Users\Daoud\Desktop\Trucking Life\gamemodes\PPC_Trucking.pwn(69) : error 021: symbol already defined: "MoveDynamicObject"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Also The Object i wana move is this:
pawn Код:
CreateDynamicObject(10771,3302.39990234,-830.20001221,-1.79999995,0.00000000,0.00000000,270.00000000);



Re: Compile Error Please Help - ddnbb - 03.09.2012

Quote:
Originally Posted by Geeboi_Mehdi
Посмотреть сообщение
pawn Код:
native MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed, Float:rx = -1000.0, Float:ry = -1000.0, Float:rz = -1000.0);
I got this:
pawn Код:
C:\Users\Daoud\Desktop\Trucking Life\gamemodes\PPC_Trucking.pwn(69) : error 021: symbol already defined: "MoveDynamicObject"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Also The Object i wana move is this:
pawn Код:
CreateDynamicObject(10771,3302.39990234,-830.20001221,-1.79999995,0.00000000,0.00000000,270.00000000);
This is how it works...
pawn Код:
new object = CreateDynamicObject(...);
MoveDynamicObject(object, ...);
Also, are you telling me that you have that native in your script...?

+ You dont need to make 4 different post about this same topic... wow.