View Single Post
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 07-19-2018 , 19:16   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #93

Quote:
Originally Posted by Celena Luna View Post
1. #define didn't hightlighted
2. #include didn't hightlighted
It is because by default I set to use my version of the Amxx Syntax. It available by my other package called `AmxxPawn`.

If you prefer the old one, you can just set to use the standard syntax.
You can override this for all files with `.sma` extension to open with the old syntax:
  1. Opening a `.sma` file
  2. And going on the menu `View -> Syntax -> Open all with current extension as... -> AmxxEditor -> AmxxEditorPawn`


Quote:
Originally Posted by Celena Luna View Post
3. #define CSW_BASE CSW_AK47. The number 7 is highlighted somehow (same case with #define CSW_BASE CSW_M4A1. The number 1 is hightlighted)
I just fixed this anomaly, Package Control should update your `AmxxPawn` package soon.

Quote:
Originally Posted by Celena Luna View Post
4. I want to ask how to make the plugins compiled at the same folder as it source?
You can just edit the `AmxxEditor.bat` script file and change the line 83:
Code:
File: User/AmxxEditor/AmxxEditor.bat
83: set PLUGIN_BINARY_FILE_PATH=%folders_list[0]%\%PLUGIN_BASE_FILE_NAME%.amxx
-->
Code:
83: set PLUGIN_BINARY_FILE_PATH=%4\%PLUGIN_BASE_FILE_NAME%.amxx
Quote:
Originally Posted by Celena Luna View Post
Sorry for asking too much. I got used to with the old version so it is little complicated for me to switch to the new version
No problem. I am just happy someone is actually using it. Beyond myself, you are the first one I know who installed the `StudioChannel`.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 07-20-2018 at 12:33.
addons_zz is offline