Raised This Month: $ Target: $400
 0% 

Amxx studio include inc files?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 08-26-2010 , 17:56   Amxx studio include inc files?
Reply With Quote #1

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

Thanks
__________________
Retired.
Xalus is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 08-26-2010 , 17:57   Re: Amxx studio include inc files?
Reply With Quote #2

Put them in the include folder for the compiler you are using?
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-26-2010 , 18:28   Re: Amxx studio include inc files?
Reply With Quote #3

Quote:
Originally Posted by Jelle View Post
Put them in the include folder for the compiler you are using?.
__________________
fysiks is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 08-26-2010 , 18:45   Re: Amxx studio include inc files?
Reply With Quote #4

-chuckle-
__________________
Hi.
Kreation is offline
Kuma77
Senior Member
Join Date: Sep 2014
Location: Behind PC
Old 12-07-2014 , 17:43   Re: Amxx studio include inc files?
Reply With Quote #5

guys is there any way to include .sma or .amxx ?? i mean i want make new plugin and its continue to one plugin !:!
__________________
SPACE TIME
Kuma77 is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-07-2014 , 18:07   Re: Amxx studio include inc files?
Reply With Quote #6

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.
klippy is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-07-2014 , 18:52   Re: Amxx studio include inc files?
Reply With Quote #7

Quote:
Originally Posted by KliPPy View Post
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 View Post
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.
__________________

Last edited by fysiks; 12-07-2014 at 18:55.
fysiks is offline
Kuma77
Senior Member
Join Date: Sep 2014
Location: Behind PC
Old 12-15-2014 , 08:08   Re: Amxx studio include inc files?
Reply With Quote #8

Quote:
Originally Posted by fysiks View Post

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 View Post
Code:
#include "other_sma.sma"
.
is that work ?
__________________
SPACE TIME
Kuma77 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-15-2014 , 08:25   Re: Amxx studio include inc files?
Reply With Quote #9

Quote:
Originally Posted by Kuma77 View Post
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.
__________________
fysiks is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-15-2014 , 12:51   Re: Amxx studio include inc files?
Reply With Quote #10

Quote:
Originally Posted by Kuma77 View Post
is that work ?
It works, but as Fysiks said, you shouldn't do that. It is a bad practice.
klippy is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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