18.09.2015, 20:22
Hello, i have a small problem.
I'm creating a mini missions servers and is structured in this way:
The main core such as login, register, anticheat etc is a filterscript file.
The missions are placed in gamemodes folder.
Now the problem is, i've added a server side money system in the main core filterscript file, so i replaced every callback to custom (Ex: GivePlayerMoney became GivePlayerCash).
I've tried to replace the default money callbacks in gamemodes too, from GPM to GPC but having the "Undefined symbol GivePlayerCash".
Since i can't copy the code in 50 gamemodes, is there a way to read it from the main core filterscript?
In short words, i've the server side money placed in filterscripts but i need to replace the default callbacks in gamemodes too, without redefining everything.
I'm creating a mini missions servers and is structured in this way:
The main core such as login, register, anticheat etc is a filterscript file.
The missions are placed in gamemodes folder.
Now the problem is, i've added a server side money system in the main core filterscript file, so i replaced every callback to custom (Ex: GivePlayerMoney became GivePlayerCash).
I've tried to replace the default money callbacks in gamemodes too, from GPM to GPC but having the "Undefined symbol GivePlayerCash".
Since i can't copy the code in 50 gamemodes, is there a way to read it from the main core filterscript?
In short words, i've the server side money placed in filterscripts but i need to replace the default callbacks in gamemodes too, without redefining everything.