Errors 010 and 021.
#1

Basically, I'm getting some silly errors I didn't get yesterday.

I've been scripting in Notepad++ and I basically split my files for more organization. Main.pwn contains OnGameModeInit and OnPlayerConnect stuff and bunch of includes, which again have functions, commands, mapping and some defines. Anyways, the deal's this, I have a separate .pwn for mapping, which I include on OnGameModeInit and some of the mapping has RemoveBuildingForPlayer, under OnPlayerConnect. So far so good. Problems start when I start to add more mapping I forgot to add yesterday, it pops up 26 errors, each and everyone saying:

Код:
mapping.pwn(5) : error 010: invalid function or declaration
mapping.pwn(5) : error 010: invalid function or declaration
mapping.pwn(6) : error 021: symbol already defined: "CreateDynamicObject"
mapping.pwn(6) : error 010: invalid function or declaration
mapping.pwn(7) : error 021: symbol already defined: "CreateDynamicObject"
mapping.pwn(7) : error 010: invalid function or declaration
...
mapping.pwn(17) : error 021: symbol already defined: "CreateDynamicObject"
mapping.pwn(17) : error 010: invalid function or declaration
The silly thing is that when I deleted the mapping I wanted to add, I still got these errors. Yesterday it ran smooth.
Reply
#2

Okay, this was silly... Compiled it once more changing the name of the .pwn and it ran smoothly.

Could anyone delete this? Solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)