Quote:
Originally Posted by SNIPERMASTER
I said we already found it. I want to know how to convert AMX plugins to AMXX. The plugin isn't the issue.
|
To convert to AMX Mod X plugin you need to convert all the native to AMX Mod X equivalents. I am not going into detail with this though.
First you need to stop using amxmod.inc, VexdUM.inc, etc.
Equivanlents for those would be amxmodx.inc and engine.inc, etc.
Some native like strtonum need to be change to str_to_num. It sometimes is an easy process sometimes it not. Sometimes it just a native name change in the file. Sometime the prototypes are different too so you have to change that.
So if you want to learn how to convert plugins. Your going to have to looking for the equivalent native. So if your not to familiar with the change. I would suggest you look at old post with people converting to AMX Mod X and compare it to the old plugin.
Also for plugins that KRoT@L has edit or recoded. You need to look for stuff like load_error, meta unload, server_cmd("quit"); etc.
Quote:
Originally Posted by Da_sk8rboy
Alright then, here's how you do it:
---------------------------------------------
Install the plugin on the server like you would ordinarly.
In the plugins.ini, (must be the most recent or close to of amxx Mod, 1.76d is recommended.)
an u should see like:
; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer
Remove the ';' infront of amxmod_compat.amxx, Then, don't take everything after this is 100% correct:
add the .amx plugin you have installed. So say you already put:
"blah.amx" in the /plugins/ folder (NOTICE it's .amx not .amxx)
Then under the:
;; .amx plugins ;;
amxmod_compat.amxx ; AMX Mod backwards compatibility layer
blah.amx
---------------------------------------------
That's how i believe you would use the amxmod_compat;
Also, i'm not sure every '.amx' plugin will be capable with the amxmod_compat, but on that note, just give it a try.
|
This is not how to convert AMX Mod plugin to AMX Mod X. This is just a compatibility layer for people who don't want to learn how to convert or ask to get their plugins convert to AMX Mod X.
__________________