SA-MP Forums Archive
pawno error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: pawno error (/showthread.php?tid=471288)



pawno error - Freszh - 22.10.2013

hey guys , i just mapped something and i'm trying to compile it but then i get the following :
C:\Users\Justin\Desktop\Allemaal roleplay gamemodes SAMP\goeie script\gamemodes\grandlarc.pwn(524) : error 021: symbol already defined: "CreateObject"
does anyone know how to fix this? pls reply thx thx


Re: pawno error - xXxFerZExXx - 22.10.2013

use '' CreateDynamicObject '' try it. dont forgot +rep me If it worked


Re: pawno error - Akira297 - 22.10.2013

Don't forget to have #include <streamer> on the top of your game-mode.


Re: pawno error - Freszh - 22.10.2013

021 is gone, now i get those two :
C:\Users\Justin\Desktop\Allemaal roleplay gamemodes SAMP\goeie script\gamemodes\grandlarc.pwn(525) : error 010: invalid function or declaration
C:\Users\Justin\Desktop\Allemaal roleplay gamemodes SAMP\goeie script\gamemodes\grandlarc.pwn(525) : error 010: invalid function or declaration


Re: pawno error - Freszh - 22.10.2013

I added #include <streamer> and now i get C:\Users\Justin\Desktop\Allemaal roleplay gamemodes SAMP\goeie script\gamemodes\grandlarc.pwn(526) : error 021: symbol already defined: "CreateObject" again


Re: pawno error - Akira297 - 22.10.2013

Can I see the code for that line? + You need to make sure they are alll indented together.


Re: pawno error - Freszh - 22.10.2013

This is the line:
CreateObject(19378, 175.78638, 1717.80908, -38.30954, 0.00000, 90.00000, 0.00000);