AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   Amxx studio include inc files? (https://forums.alliedmods.net/showthread.php?t=136468)

Xalus 08-26-2010 17:56

Amxx studio include inc files?
 
is it possible to include Inc files in Amxx-Studio ?
So I can compile plugins in Amxx-Studio with ColorChat or something.

Thanks

Jelle 08-26-2010 17:57

Re: Amxx studio include inc files?
 
Put them in the include folder for the compiler you are using?

fysiks 08-26-2010 18:28

Re: Amxx studio include inc files?
 
Quote:

Originally Posted by Jelle (Post 1282583)
Put them in the include folder for the compiler you are using?.

:)

Kreation 08-26-2010 18:45

Re: Amxx studio include inc files?
 
-chuckle-

Kuma77 12-07-2014 17:43

Re: Amxx studio include inc files?
 
guys is there any way to include .sma or .amxx ?? i mean i want make new plugin and its continue to one plugin !:!

klippy 12-07-2014 18:07

Re: Amxx studio include inc files?
 
Put that .sma file in the same directory as the plugin you are writing, and in the plugin you are writing just put:
Code:

#include "other_sma.sma"
Extension doesn't mean anything to the compiler, you can include any file.

fysiks 12-07-2014 18:52

Re: Amxx studio include inc files?
 
Quote:

Originally Posted by KliPPy (Post 2232319)
Put that .sma file in the same directory as the plugin you are writing, and in the plugin you are writing just put:
Code:

#include "other_sma.sma"
Extension doesn't mean anything to the compiler, you can include any file.

That is a really bad idea. There will be a ton of conflicts if you include a full working plugin in that manner.

Quote:

Originally Posted by Kuma77 (Post 2232317)
guys is there any way to include .sma or .amxx ?? i mean i want make new plugin and its continue to one plugin !:!

New topics should be posted in a new thread. You need to describe better (in your own thread) what you are actually trying to do because your request doesn't really make any sense.

Kuma77 12-15-2014 08:08

Re: Amxx studio include inc files?
 
Quote:

Originally Posted by fysiks (Post 2232329)

New topics should be posted in a new thread. You need to describe better (in your own thread) what you are actually trying to do because your request doesn't really make any sense.

sorry :) i wasn't have time to creat new thread .

Quote:

Originally Posted by KliPPy (Post 2232319)
Code:

#include "other_sma.sma"
.

is that work ?

fysiks 12-15-2014 08:25

Re: Amxx studio include inc files?
 
Quote:

Originally Posted by Kuma77 (Post 2235568)
sorry :) i wasn't have time to creat new thread .

Don't make pointless excuses. It doesn't take any more time to create a new thread.

klippy 12-15-2014 12:51

Re: Amxx studio include inc files?
 
Quote:

Originally Posted by Kuma77 (Post 2235568)
is that work ?

It works, but as Fysiks said, you shouldn't do that. It is a bad practice.


All times are GMT -4. The time now is 02:35.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.