Fixed bug am42097 (FM disabling hooks too early)
This commit is contained in:
18
plugins/testsuite/fakemeta_tests.sma
Normal file
18
plugins/testsuite/fakemeta_tests.sma
Normal file
@ -0,0 +1,18 @@
|
||||
#include <amxmodx>
|
||||
#include <fakemeta>
|
||||
|
||||
public plugin_init()
|
||||
{
|
||||
register_plugin("Fakemeta Tests", "1.0", "BAILOPAN")
|
||||
register_forward(FM_ServerDeactivate, "Hook_ServerDeactivate")
|
||||
}
|
||||
|
||||
public Hook_ServerDeactivate()
|
||||
{
|
||||
server_print("[FAKEMETA TEST] ServerDeactivate() at %f", get_gametime())
|
||||
}
|
||||
|
||||
public plugin_end()
|
||||
{
|
||||
server_print("[FAKEMETA TEST] plugin_end() at %f", get_gametime())
|
||||
}
|
Reference in New Issue
Block a user