19.11.2015, 19:10
@valych: Ok, are you sure that you changed your gamemode line in server config to your .amx file?
If yes, move the .registerFunction(...) section to a seperate method and call it "registerPawnFunctions(AmxInstance instance)". In onEnable() do:
(And call registerPawnFunctions also in the AmxLoadEvent)
If yes, move the .registerFunction(...) section to a seperate method and call it "registerPawnFunctions(AmxInstance instance)". In onEnable() do:
PHP Code:
for(AmxInstance instance : Shoebill.get().getAmxInstanceManager().getAmxInstances()) {
registerPawnFunctions(instance);
}