Quote:
Originally Posted by NiHiLaNTh
Instead of all this
Code:
#include < svn_version >
#if AMXX_VERSION_NUM >= 175
#pragma reqlib mapname_patcher
#if !defined AMXMODX_NOAUTOLOAD
#pragma loadlib mapname_patcher
#endif
#else
#pragma library mapname_patcher
#endif
/* MapName length should be longer than 0 and shorter than 129 */
native Patch_MapName( MapName[ ] );
#define MAPNAME_PATCHER_INCLUDED
#endif
Add simply this
Code:
native Patch_MapName( MapName[ ] );
|
I did this but it is not working unfortunately
PHP Code:
#include <amxmodx>
#include <amxmisc>
native Patch_MapName(MapName[]);
public plugin_init() {
register_plugin("MapName", "1.0", "PurposeLess")
Patch_MapName("PurposeLess")
}
public plugin_cfg() {
Patch_MapName("PurposeLess")
}