Sublime text for PAWN isn't working!
#1

Hello guys. I tried 'Sublime text 2' and I would really like to use it for PAWN.
I have created the folder in AppData\Roaming\Sublime Text 2\Packages called 'PAWN'
and I have a file called PAWN with the following code:
Code:
{
	"cmd": ["pawncc.exe", "-d3 -r -i includes", "$file", "-;+"],
	"path": "C:/Users/Rajat/Desktop/SAMP/pawno"
}
The path is correct, of course.
However, on compiling (anything), the error given is:

Anyone who is knowledgeable about this, your help would be appreciated.
Reply
#2

You need to save the file first.
Reply
#3

That is extremely useful and it worked. Sublime text's really good, thanks!
Question 2:
Is there way to create the 'template' like in PAWNO? So that we wouldn't have to you know, add include <a_samp> and things everytime?
Reply
#4

There's probably a plugin for it but I don't use it.
Reply
#5

Alright, anyways, I decided to give it up, it sucks to not have include and for and things not highlighted, so I am going back to PAWNO. Moderators/BTesters, please delete this topic.
Reply
#6

Quote:
Originally Posted by Rajat_Pawar
View Post
Alright, anyways, I decided to give it up, it sucks to not have include and for and things not highlighted, so I am going back to PAWNO. Moderators/BTesters, please delete this topic.
Syntaxes can be adjusted easily making your code colourful. There is probably a package for this but you can still open up the new.pwn file, press CTRL+A and CTRL+C then paste it. Takes five seconds tbh.
Reply
#7

https://sampforum.blast.hk/showthread.php?tid=324787

Related.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)