Compile Error Please Help
#1

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);
Reply
#2

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


Forum Jump:


Users browsing this thread: 1 Guest(s)