[SOLVED] symbol already defined: "CreateDynamicObject"
#1

Код:
test.pwn(524) : error 021: symbol already defined: "CreateDynamicObject"
This are all the includes I have
PHP код:
#include <a_samp>
#include <nex-ac>
#include <foreach>
#include <streamer>
#include <YSI\y_ini>
#include <zcmd>
#include <sscanf2>
//And this is the only CreateDynamicObject I have
/*524*/
CreateDynamicObject(3091, -2288.636232642.1037655.00216,   0.000000.00000, -86.16001); 
If I remove #include <streamer> I get this:

Код:
test.pwn(524) : error 010: invalid function or declaration
test.pwn(524) : error 010: invalid function or declaration
test.pwn(1769) : warning 203: symbol is never used: "CreateDynamicObject"
1769 is 1 line after the end of my whole .pwn file
Reply
#2

Where do you put this line? Put it under OnGameModeInit() if its a gamemode or under OnFilterScriptInit() if its a filterscript and recompile. I am quite sure you put it as a function so it gets this error as the function is already defined by Streamer.
Reply
#3

Quote:
Originally Posted by Variable™
Посмотреть сообщение
Where do you put this line? Put it under OnGameModeInit() if its a gamemode or under OnFilterScriptInit() if its a filterscript and recompile. I am quite sure you put it as a function so it gets this error as the function is already defined by Streamer.

Well, that worked. Alriiite, +rep for u, dear sir. I started undefining and defining it again and doing some shit, but it was this simple....Story of my life. Btw, your signature is amazing, still laughing after 5 min
Reply
#4

Glad I helped, have fun!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)