SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Tutorials

Reply
 
Thread Tools Display Modes
Old 30/01/2017, 02:12 PM   #21
renatog
Huge Clucker
 
Join Date: Mar 2016
Posts: 331
Reputation: 48
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by Dayrion View Post
The compiler give me an .lst file, not the amx. You know why? :c
edit: the compiler doesn't work. Looking to compile fine even there is errors
Check the 'cmd' param. You ~probably~ are compiling with (-l) arg.
renatog is offline   Reply With Quote
Old 30/01/2017, 09:48 PM   #22
AndreiWow
High-roller
 
AndreiWow's Avatar
 
Join Date: Nov 2014
Location: Romania, Bucharest
Posts: 1,047
Reputation: 48
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by PeanutButter View Post
Maybe restart the program? Did you install the package control right?
You can check by going to Preferences and see if there is a Package Control option.
If not you didn't install it right.

If it does then click on it, afterwards click on install package and search for pawn syntax and install it.
Wait until it's finished and restart the program afterwards. You should now be able to find PAWN in the syntaxes
Nothing happens when I click on Pawn syntax, the pop up just dissapears.
AndreiWow is offline   Reply With Quote
Old 31/01/2017, 04:16 AM   #23
justice96
Guest
 
Posts: n/a
Default Re: PAWN for SA-MP in Sublime Text 3

How to open the new folder in one project without seperate window
  Reply With Quote
Old 31/01/2017, 04:42 AM   #24
oMa37
Gangsta
 
Join Date: Feb 2016
Posts: 970
Reputation: 155
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by justice96 View Post
How to open the new folder in one project without seperate window
Double click at the empty place beside any tab, I think you know what I mean?
oMa37 is offline   Reply With Quote
Old 31/01/2017, 10:26 AM   #25
Oxygenated
Little Clucker
 
Oxygenated's Avatar
 
Join Date: Dec 2016
Posts: 36
Reputation: 3
Default Re: PAWN for SA-MP in Sublime Text 3

The compiler dosen't work for me any help? I followed all your instructions and saved the file but i am unable to see it in the built system.
Oxygenated is offline   Reply With Quote
Old 31/01/2017, 10:32 AM   #26
PeanutButter
Big Clucker
 
PeanutButter's Avatar
 
Join Date: May 2015
Location: Belgium
Posts: 105
Reputation: 35
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by Oxygenated View Post
The compiler dosen't work for me any help? I followed all your instructions and saved the file but i am unable to see it in the built system.
What happens when you do ctrl+b ?
__________________
MY TUTORIALS
MY INCLUDES
PeanutButter is offline   Reply With Quote
Old 01/02/2017, 01:07 PM   #27
Oxygenated
Little Clucker
 
Oxygenated's Avatar
 
Join Date: Dec 2016
Posts: 36
Reputation: 3
Default Re: PAWN for SA-MP in Sublime Text 3

It says no built system maybe it does not work for the latest version plz check and inform that if it works for the latest version or not if there are any changes then please edit the post!
Nice work anyways.
Oxygenated is offline   Reply With Quote
Old 01/02/2017, 03:39 PM   #28
PeanutButter
Big Clucker
 
PeanutButter's Avatar
 
Join Date: May 2015
Location: Belgium
Posts: 105
Reputation: 35
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by Oxygenated View Post
It says no built system maybe it does not work for the latest version plz check and inform that if it works for the latest version or not if there are any changes then please edit the post!
Nice work anyways.
Do you use Linux/Windows/Mac ?
I double checked with the latest version on 2 different PCs and everything worked fine...

Is your file in the list of build systems? And did you click on it? Tools>Build System
I forgot to say that after you've made the file you have to restart the program before you can see it in Tools>Build System, so check again now that it has been restarted.

Send me the content of your build file, if it really doesn't work.
the file is located in C:\Users\PC_NAME\AppData\Roaming\Sublime Text 3\Packages\User
__________________
MY TUTORIALS
MY INCLUDES
PeanutButter is offline   Reply With Quote
Old 02/02/2017, 09:35 AM   #29
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,921
Reputation: 258
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by renatog View Post
Check the 'cmd' param. You ~probably~ are compiling with (-l) arg.
The compiler work on my other PC.
Code:
{
    "cmd": ["C:/Users/user/Desktop/Server Files/pawno.exe", "$file_name", "-;+", "-d3", "-\\)+"],
    "working_dir": "${file_path}",
    "file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$",
    "variants": [
        {
            "cmd": ["C:/Users/user/Desktop/Server Files/pawno.exe", "$file_name", "-;+", "-d3", "-\\)+", "-l"],
            "working_dir": "${file_path}",
            "name": "Preprocessed output"
        },
        {
            "cmd": ["C:/Users/user/Desktop/Server Files/pawno.exe", "$file_name", "-;+", "-d3", "-\\)+", "-a"],
            "working_dir": "${file_path}",
            "name": "P-code output"
        }
    ]
}
Edit: Doing the same thing:
Code:
{
	"cmd": ["pawncc.exe", "-i includes", "$file", "-;+"],
	"path": "C:/Users/user/Desktop/Server Files/"
}
__________________
actor_plus - v5.0.2
I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath
Dayrion is offline   Reply With Quote
Old 02/02/2017, 01:06 PM   #30
renatog
Huge Clucker
 
Join Date: Mar 2016
Posts: 331
Reputation: 48
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by Dayrion View Post
The compiler work on my other PC.
Code:
{
        {
            "cmd": ["C:/Users/user/Desktop/Server Files/pawno.exe", "$file_name", "-;+", "-d3", "-\\)+", "-l"],
            "working_dir": "${file_path}",
            "name": "Preprocessed output"
        },
Check if you're not compiling with "Preprocessed output" variant. The compiler will give a .lst file if you are using '-l' arg (or another arg that gives this file format).
renatog is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pawn Compiler in Sublime Text 2 Conroy Tutorials 18 17/12/2016 07:44 AM
Sublime text and pawn? danielpalade Scripting Help 1 12/09/2016 12:42 AM
[Tool/Web/Other] Sublime Text 2 with PAWN included Andre02 Tools and Files 8 14/08/2016 12:08 PM
[Tutorial] PAWN for SA-MP in Sublime Text 2 Macluawn Tutorials 69 15/08/2015 03:04 AM


All times are GMT. The time now is 03:50 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.