Putting all plugins in 1 SMA?
I'm pretty sure the correct way to do this is put all the includes at the top for all the plugins like so.
// Includes #include <amxmodx> #include <amxmisc> #include <cstrike> #include <csx> #include <fakemeta> #include <hamsandwich> Then break the plugins up by // correct? |
Re: Putting all plugins in 1 SMA?
Why do you want to do this?
You are lucky if you can copy all functions to one source file and have it work as expected. Don't get me wrong, this can be done but you will need to know what you are doing to make adjustments if/where needed to make it work. Since you're asking this question I will assume you are not very experienced so I would not bother attempting this. |
Re: Putting all plugins in 1 SMA?
Copy paste all functions, and add calls to the additional ones in the end of the original functions.
For example, you have two plugins that use Ham_TakeDamage: Code:
Code:
Code:
|
Re: Putting all plugins in 1 SMA?
Quote:
PHP Code:
|
Re: Putting all plugins in 1 SMA?
Quote:
Quote:
|
Re: Putting all plugins in 1 SMA?
Bugsy I am aware of that. The point is, like u have already said. He does'nt have the expierence to put plugins together. He should better leave plugins as they are.
|
Re: Putting all plugins in 1 SMA?
Quote:
|
| All times are GMT -4. The time now is 05:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.