I just noticed something weird. I made a simple code to demonstrate.
PHP Code:
#include <amxmodx>
public plugin_precache()
log_amx("%i %i %i", get_user_msgid("TeamInfo"), get_user_msgid("Damage"), get_user_msgid("ScreenFade"))
The output of this code is "0 0 0" on server start.
After I restart the server with the "restart" command or change the map, the output is "86 71 98" as it should be.
I tested both on 1.8.3 latest dev build and 1.8.2. The results are the same. It happens with any message.
However, if I change the event to plugin_init() instead of plugin_precache(), it works normally.
Am I missing something or is this a bug?
__________________