Hell Phoenix
07-10-2006, 12:03 PM
Since so many people don’t understand how to compile their plugins, I am giving a brief guide.
A couple of things to watch for. First is that if you update amxx, make sure you grab the new scripting directory. Functions change. You should keep the same version of compiler as what’s installed on your server.
The first step is to get the scripting directory. There are two ways of doing this. First is you could download it from your servers amxmodx directory. Second you can download amxx from the amxx website. Make sure you get the dod addon =D
Ok, now that you have the directory, put your sma file in it. Lets say we are going to compile a plugin called amx_snow.sma.
(disreguard the AMXX-Studio and CVS_DoDPlugins directories...you wont have them)
http://www.charliemaurice.com/misc/pics/compile1.jpg
All you have to do is drag the file you want to compile onto compile.exe
http://www.charliemaurice.com/misc/pics/compile2.jpg
Then you will get a box that pops up. If there are any errors, this is where it will show them.
http://www.charliemaurice.com/misc/pics/compile3.jpg
Press enter to close the box. Now go into the compiled directory
http://www.charliemaurice.com/misc/pics/compile4.jpg
WOOHOO! You now have a compiled plugin. Put it in your plugins folder and add it to your plugins.ini.
A couple of things to watch for. First is that if you update amxx, make sure you grab the new scripting directory. Functions change. You should keep the same version of compiler as what’s installed on your server.
The first step is to get the scripting directory. There are two ways of doing this. First is you could download it from your servers amxmodx directory. Second you can download amxx from the amxx website. Make sure you get the dod addon =D
Ok, now that you have the directory, put your sma file in it. Lets say we are going to compile a plugin called amx_snow.sma.
(disreguard the AMXX-Studio and CVS_DoDPlugins directories...you wont have them)
http://www.charliemaurice.com/misc/pics/compile1.jpg
All you have to do is drag the file you want to compile onto compile.exe
http://www.charliemaurice.com/misc/pics/compile2.jpg
Then you will get a box that pops up. If there are any errors, this is where it will show them.
http://www.charliemaurice.com/misc/pics/compile3.jpg
Press enter to close the box. Now go into the compiled directory
http://www.charliemaurice.com/misc/pics/compile4.jpg
WOOHOO! You now have a compiled plugin. Put it in your plugins folder and add it to your plugins.ini.