Sublime -
Micko123 - 27.11.2016
Any tutorial out there on how to compile with Sublime Text 3??
Does it have same things as pawno??
Re: Sublime -
Alvitr - 27.11.2016
im not sure that is you need or not:
https://sampforum.blast.hk/showthread.php?tid=511195
Re: Sublime -
Micko123 - 27.11.2016
No no.. I want tutorial on how to use sublime for pawno. Or notepad++ because I am bored of white and blue and green only
Re: Sublime -
Alvitr - 27.11.2016
umm..
maybe these
notepad++
https://sampforum.blast.hk/showthread.php?tid=174046
sublime
https://sampforum.blast.hk/showthread.php?tid=445985
i use these to learn about write pawn at these software,
but i give up sublime soon cause..
when using in UTF8 everything garbled,
and if use ConvertToUTF8 and Codecs33 ,
will be difficult to do edit and compile...
Re: Sublime -
Micko123 - 27.11.2016
I am trying notepad++ tut.
Problem is here
Code:
Compiling
For this to work, you will need a plugin called NppExec. If you already have it, skip this step.
I don't have that plugin and I don't have options as he does when i click on plugins..
Re: Sublime -
Alvitr - 27.11.2016
like this:
http://imgur.com/a/DivIk
Re: Sublime -
Micko123 - 27.11.2016
I only have Converter and MIME Tools.. Do I have to download PluginManager from somewhere?
Re: Sublime -
Alvitr - 27.11.2016
maybe you're using
Notepad++ minimalist package
-without plugins
or when you installing that, you haven't check install plugin manager ..i guess..
and about auto-complete you can use this to genreat:
https://sampforum.blast.hk/showthread.php?tid=346736
but if your includes so large (function etc...) will got error (like more than 65535 char)
Re: Sublime -
Micko123 - 27.11.2016
Well when I installed notepad++ under plugins there were MIME Tools and Converter to check.. That is where I got confused.
I installed Plugin Manager but I have problem when starting notepad++
Code:
Can't load 32 bit plugin
Re: Sublime -
Alvitr - 27.11.2016
what os bit you using? 32bit/64bit
maybe wrong bit version you downloaded,
or you can use sublime cause i think your scripts is all English.
i not so..
Re: Sublime -
Micko123 - 27.11.2016
I have x64 bit OS.
And I tried with sublime.. still can't make it working. Nvm m8
thanks for help repped
Re: Sublime -
SickAttack - 27.11.2016
There's a lot of stuff about sublime text, ****** "samp sublime text"...
Re: Sublime -
Micko123 - 27.11.2016
I found this
https://breadfish.de/index.php?threa...-2-3/&2d363e74
but can someone explain me in what format and where I save this
PHP код:
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+"],
"working_dir": "${file_path}",
"file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$",
"variants": [
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-l"],
"working_dir": "${file_path}",
"name": "Preprocessed output"
},
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-a"],
"working_dir": "${file_path}",
"name": "P-code output"
}
]
}
??
Re: Sublime -
Alvitr - 27.11.2016
here is a post for tut about sublime add new build system,
but not pawn,
you can refer it,
http://www.wikihow.com/Create-a-Java...n-Sublime-Text
i think that code you should paste when you clicked New Build System and a page appeared.
Re: Sublime -
Micko123 - 27.11.2016
But problem is that I don't know in wich format should I save it..
I get this after compiling GM when I save it in first format I get there
Код:
[WinError 2] The system cannot find the file specified
[cmd: ['/pawno/pawncc.exe', 'Untitled.pwn', '-;+', '-v2', '-d3', '-\\)+']]
[dir: C:\Users\Micko\Desktop\MySQL\gamemodes]
[path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Skype\Phone\]
[Finished]
Re: Sublime -
Alvitr - 27.11.2016
try:
Project -> Add Folder to Project -> select your samp server folder
ex: without change any thing that you pasted that code.
if you are only use pawno whitout server folder,
than change every
{project_path:${folder}}/pawno/pawncc.exe
to
{project_path:${folder}}/pawncc.exe
and select your pawno folder
Re: Sublime -
Micko123 - 27.11.2016
Okay I managed to do this but now when compiling nothing is shown.. Not even errors or warnings that I made on purpose to check compiler.. It is empty
I also saved it as Pawno.sublime-build
Код:
{
"cmd": ["pawncc.exe", "-i includes", "$file", "-;+", "-d3", "-\\)+"],
"working_dir": "C\\Users\\Micko\\Desktop\\MySQL",
"file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$",
"variants": [
{
"cmd": ["pawncc.exe", "-i includes", "$file", "-;+", "-d3", "-\\)+", "-l"],
"working_dir": "C\\Users\\Micko\\Desktop\\MySQL",
"name": "Preprocessed output"
},
{
"cmd": ["pawncc.exe", "-i includes", "$file", "-;+", "-d3", "-\\)+", "-a"],
"working_dir": "C\\Users\\Micko\\Desktop\\MySQL",
"name": "P-code output"
}
]
}
Re: Sublime -
Alvitr - 27.11.2016
Quote:
Originally Posted by Micko123
Okay I managed to do this but now when compiling nothing is shown.. Not even errors or warnings that I made on purpose to check compiler.. It is empty
I also saved it as Pawno.sublime-build
|
you might leave it default,
PHP код:
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+"],
"working_dir": "${file_path}",
"file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$",
"variants": [
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-l"],
"working_dir": "${file_path}",
"name": "Preprocessed output"
},
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-a"],
"working_dir": "${file_path}",
"name": "P-code output"
}
]
}
and only add Project Folder for that samp server folder.
and build again will get compile msg.
Re: Sublime -
Micko123 - 27.11.2016
-FIXED-
[/code]
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 6556 bytes
Code size: 918008 bytes
Data size: 4783008 bytes
Stack/heap size: 16384 bytes; estimated max. usage=1739 cells (6956 bytes)
Total requirements: 5723956 bytes
[Finished in 5.5s]
[code]
THANK YOU!!!!
Re: Sublime -
Micko123 - 28.11.2016
Okay another problem.. When GM is compile it is compiled fine but problem is that changes are not made in .amx file, they are made only in .pwn.
So to make changes in .amx I have to compile it with pawn which I want to bypass somehow.. Is it possible??