03.12.2016, 23:21
It's completely dependent on what is in the filterscript. I would always suggest that you have 1 .amx file uploaded to the server so 1 gamemode and no filterscripts; but the way that you format the gamemode script is that you can use includes, for example
Then in your gamemodes folder have a folder called inc then create a pwn file and name is colours and then in there I have the defines of all my colors, however I just save the file and don't compile then up the top of my script I have the #include and when I compile it all compile's as one .amx
That'll be an easy way to merge the two scripts together and all you'd really have to do (dependent of what is in the filterscript) is add all the callbacks that are in the filterscript under callbacks that are already in the gamemode. All the variables and defines and functions from the filterscript will then be in the gamemode just organized a bit differently.
Hope this helps.
PHP код:
#include "../gamemodes/inc/colours.pwn"
That'll be an easy way to merge the two scripts together and all you'd really have to do (dependent of what is in the filterscript) is add all the callbacks that are in the filterscript under callbacks that are already in the gamemode. All the variables and defines and functions from the filterscript will then be in the gamemode just organized a bit differently.
Hope this helps.