Thread: [API Scripting Help] [TUT]Installing Zombie classes for people :)
View Single Post
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 12-11-2013 , 08:49   Re: [TUT]Installing Zombie classes for people :)
Reply With Quote #2

Better like this...

I. Downloading AmxModx Studio.

1. Open AmxmodX Studio that you installed and downloaded.(AMX Mod X Full Installer v1.8.2)
Spoiler
-------------------------------------------------------------------------------------------------------------------------
2. When you open it go to "tools" and open "settings".
Spoiler
-------------------------------------------------------------------------------------------------------------------------
3. Now that you see "settings" go to "compiler settings".
Spoiler
-------------------------------------------------------------------------------------------------------------------------
4. Now on this next image you see two red places to set things you need.
Spoiler
-------------------------------------------------------------------------------------------------------------------------
5. First find "amxxpc.exe" and set its directory. After that set where you want your codes to be compiled in the second place. Press OK.
Spoiler
-------------------------------------------------------------------------------------------------------------------------
6. Now you can compile your plugins from SMA file to AMXX file. Let's try it...
Spoiler
-------------------------------------------------------------------------------------------------------------------------
Done.

II. How to use AmxModx Studio.

1. First download any sma file from any class that you need/want. (Classes Here)
Spoiler
-------------------------------------------------------------------------------------------------------------------------
2. Open it with AmxModX Studio. Example: Anti-Fire Zombie Class
Spoiler
-------------------------------------------------------------------------------------------------------------------------
3. Edit your code as you like. Set zombie Health, Speed, Gravity...
Spoiler
-------------------------------------------------------------------------------------------------------------------------
4. Now compile your plugin so you can create AMXX file and set it on your server.
Spoiler
-------------------------------------------------------------------------------------------------------------------------
Done.

III. Add the plugin on a server.

1. Go to the directory"/addons/amxmodx/plugins" on your server. And add there your plugins AMXX file.
Spoiler
-------------------------------------------------------------------------------------------------------------------------
2. Then go to directory "/addons/amxmodx/configs/plugins-zp50_ammopacks.ini" and add one more line on the bottom. Example:
Spoiler
-------------------------------------------------------------------------------------------------------------------------
3. Don't forget to set your models in directory you wanted to set them in. (You can see when you edited the code where you should set models.)
Spoiler
-------------------------------------------------------------------------------------------------------------------------
Restart your server. (: That should be it if you have any trouble Post.

IV. See errors and enable debug.

1. Too see what plugin is showing you errors. Go to directory "/addons/amxmodx/logs" if you see any files that has name "error" an the latest date open it
Spoiler
-------------------------------------------------------------------------------------------------------------------------
2. Read the errors and see what plugin is making it. It will say that you need to enable debug error.
Spoiler
-------------------------------------------------------------------------------------------------------------------------
3. So lets enable debug. To enable debug you need to go to directory "zp50_ammopacks.ini" write inside next to the code word "debug".
Spoiler
-------------------------------------------------------------------------------------------------------------------------
4. Now you wait to get again new error. This time it will show what line of the code is problem. After that you can post it on this forum, and we can solve it together.
Spoiler
-------------------------------------------------------------------------------------------------------------------------
That is how you know what plugin is making your server crash.

**Note**
- Some classes have extra sounds,sprites,models....
- Read 10 times before you post a questions so you would not ask something that was writen.
- If you need something ask in this thread.
__________________

Last edited by H.RED.ZONE; 12-11-2013 at 18:49.
H.RED.ZONE is offline