pawno error
#1

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

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

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

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
Reply
#5

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
Reply
#6

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)