Raised This Month: $ Target: $400
 0% 

Map Name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 07-05-2017 , 17:50   Re: Map Name
Reply With Quote #1

I want it but it is not working. Could you check the mistake in the plugin?

PHP Code:
#include <amxmodx>
#include <amxmisc>

#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_MapNameMapName[ ] );

#define MAPNAME_PATCHER_INCLUDED

#endif

public plugin_init() {
    
register_plugin("MapName""1.0""PurposeLess")
}

public 
plugin_cfg()
    
Patch_MapName("PurposeLess"
And here are these mistakes

Code:
/home/araclar/compiler/include/svn_version.inc(14) : warning 201: redefinition of constant/macro (symbol "AMXX_VERSION")
/home/araclar/compiler/include/svn_version.inc(15) : warning 201: redefinition of constant/macro (symbol "AMXX_VERSION_NUM")
/home/araclar/compiler/include/svn_version.inc(16) : error 021: symbol already defined: "AMXX_VERSION_STR"
//cstrike/addons/amxmodx/scripting/mapxsa.sma(21) : error 026: no matching "#if..."

2 Errors.
Could not locate output file /cstrike/addons/amxmodx/plugins/mapxsa.amx (compile failed).

Last edited by PurposeLessx; 07-05-2017 at 18:24.
PurposeLessx is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode