Error with Include while Compiling
1 Attachment(s)
So Im trying to Compile a Plugin with these Includes:
#include <amxmodx> #include <amxmisc> #include <hamsandwich> #include <cstrike> #include <fun> #include <fakemeta> #include <dhudmessage> I have all of them in my AMX Mod X\files\base\scripting\include folder But when I try to Compile it, I have the following error: http://i.imgur.com/OTBtVyd.png If you guys could help me I would be very grateful :fox: The Plugin Im trying to compile: |
Re: Error with Include while Compiling
The .sma file must be in the "scripting" folder of AMX Mod X for it to compile correctly. Also, I've had issues in the past where I did not have permission to write to a folder (via a script) in the Program Files directory. If moving the .sma file to the correct location doesn't fix the error, move the AMX Mod X files to your documents and try again (with the .sma in the "scripting" folder).
|
Re: Error with Include while Compiling
Quote:
http://i.imgur.com/lgXc4a4.png Could you please help me fixing it? |
Re: Error with Include while Compiling
I don't have the dhudmessage include file nor do I have any experience using it. However, it should be easy to figure it out. Look in that include file and find the function that is causing the error. The error says that one of the arguments does not match the definition. So, look at its definition to see what you are supposed to be giving the function and compare that to what you are actually giving to the function.
|
Re: Error with Include while Compiling
Quote:
|
| All times are GMT -4. The time now is 21:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.