The compile error:
Code:
// J:\scripting\include\\amxmod_compat\xtrafun.inc(87) : error 025: function heading differs from prototype
// J:\scripting\include\\amxmod_compat\xtrafun.inc(87) : error 021: symbol already defined: "find_entity"
The problem:
xtrafun.inc will get a compile error if a plugin also includes Vexd_Utilities.inc, normally something that old would not use VexdUM.inc. But because Vexd_Utilities.inc now includes VexdUM.inc as of amxmodx 1.76b, it defines the stock find_entity in VexdUM_stock.inc which is also in xtrafun.inc.
This can be fixed in xtrafun.inc by checking if vexdum is used as shown in bold below:
Code:
#if !defined _vexd_bcompat_included
/* Find an entity ID from start_from_ent id (use 0 to start from
* the beginning, category is either "classname", "target" or
* "targetname", value is the name you are searching for */
stock find_entity(start_from_ent, category, value[]) {
switch (category) {
case target: return find_ent_by_target(start_from_ent, value)
case targetname: return find_ent_by_tname(start_from_ent, value)
}
return find_ent_by_class(start_from_ent, value)
}
#endif
Also just wanted to point out it shows \\ in "include\\amxmod_compat", though that doesn't effect anything.