27.07.2011, 13:06
Hello, I recently decided to split my game-mode up into pieces of includes in .pwn files to re-organize it and make it easier to access (for me), however, on compilation I am getting a lot of warnings and when I go in-game it freezes (sort of a crash at the spawn screen all I can see is the left and right buttons and spawn button). I have tried to debug the script, and it seems it doesn't load up OnPlayerRequestClass, it gets to OnPlayerConnect and gets stuck.
This is how the main folder is laid out:
I have one main file for including everything and compile that into an .amx for running, this is how it looks inside:
(above is some defines for configuring the script internals).
(below this is main() )
When compiling the warnings I receive look like this:
However, ALL the variables are used I don't understand why it isn't working. Please, does anybody have any experience with split source game-modes and can shed some light?
This is how the main folder is laid out:
I have one main file for including everything and compile that into an .amx for running, this is how it looks inside:
(above is some defines for configuring the script internals).
(below this is main() )
When compiling the warnings I receive look like this:
However, ALL the variables are used I don't understand why it isn't working. Please, does anybody have any experience with split source game-modes and can shed some light?