Good points Connor, will test it and reply asap. Time to sleep now :/
BTW: Here the small code ^^
PHP Code:
#include <fakemeta>
public plugin_init(){
// ...
register_forward(FM_GetGameDescription, "fwd_gamedesc")
// ...
}
public fwd_gamedesc(){
forward_return(FMV_STRING, "Counter-Strike: Paintball")
return FMRES_SUPERCEDE
}
EDIT: @bos
Well, probably the ':' cause the trouble. Although it worked before. Also, are you running in beta?
EDIT2: @Connor, @Arkshine
It seems that it gets not called anymore. Added a chat and console message to the hook. No prints
Quote:
] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 14:59:14 Feb 13 2013 (5956)
] meta version
Metamod v1.20 2013-02-16 (5:13)
by Will Day <[email protected]>
http://www.metamod.org/
compiled: Feb 16 2013, 17:11 5 +0100 (optimized)
ifvers: 5:13
] amxx version
AMX Mod X 1.8.2
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko, Felix "SniperBeamer" Geyer
Jonny "Got His Gun" Bergstrom, Lukasz "SidLuke" Wlasinski
Christian "Basic-Master" Hammacher, Borja "faluco" Ferrer
Scott "Damaged Soul" Ehlert
Compiled: Feb 14 2013, 00:55:00
URL:http://www.amxmodx.org/
Core mode: JIT
|
EDIT3: @all
Tested on an outdated server and indeed it works just fine. Any chance for a workaround?
Quote:
] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 11 0:01 Aug 28 2012 (5787)
|
__________________