SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 18/01/2017, 03:54 PM   #11
PeanutButter
Big Clucker
 
PeanutButter's Avatar
 
Join Date: May 2015
Location: Belgium
Posts: 104
Reputation: 35
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by Dayrion View Post
Anyone know who can we get this ?
I'm using Sulime Text since some times and never finnd it : https://gyazo.com/8d45f23521877f7eb07dac9e490d441d
  • Ctrl+Shift+P and search for sidebar
  • If you don't find it you can install it with Preferences>Package Controll>Install
  • Search for sidebar. You will also find a some enhancements and a color changer for the sidebar
  • When you have your sidebar you can drag and drop your project's folder in it.
__________________
MY TUTORIALS
MY INCLUDES
PeanutButter is offline   Reply With Quote
Old 18/01/2017, 11:38 PM   #12
IlanZ
High-roller
 
Join Date: Jul 2016
Location: Brasil
Posts: 1,358
Reputation: 75
Default Re: PAWN for SA-MP in Sublime Text 3

Thanks man, I've been looking for this for 3 days.
++rep
IlanZ is offline   Reply With Quote
Old 19/01/2017, 04:25 PM   #13
Hender
Little Clucker
 
Hender's Avatar
 
Join Date: Aug 2016
Posts: 7
Reputation: 0
Default Re: PAWN for SA-MP in Sublime Text 3

Thanks for this (:
Hender is offline   Reply With Quote
Old 22/01/2017, 04:08 PM   #14
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 501
Reputation: 367
Default Re: PAWN for SA-MP in Sublime Text 3

Thanks, very quick and easy to understand!
__________________
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.


[Include] FCNPC A.I. - [Tutorial] Speedometer - [WIP] Single-player-like co-op mission - [Other] List of all my work
Freaksken is offline   Reply With Quote
Old 23/01/2017, 04:49 PM   #15
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

It doesn't work for me? I follow the tutorial exactly until step 7, can't find Pawn in there
AndreiWow is offline   Reply With Quote
Old 23/01/2017, 07:37 PM   #16
PeanutButter
Big Clucker
 
PeanutButter's Avatar
 
Join Date: May 2015
Location: Belgium
Posts: 104
Reputation: 35
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by AndreiWow View Post
It doesn't work for me? I follow the tutorial exactly until step 7, can't find Pawn in there
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
__________________
MY TUTORIALS
MY INCLUDES
PeanutButter is offline   Reply With Quote
Old 28/01/2017, 08:06 AM   #17
Oxygenated
Little Clucker
 
Oxygenated's Avatar
 
Join Date: Dec 2016
Posts: 36
Reputation: 3
Default Re: PAWN for SA-MP in Sublime Text 3

+REP
Oxygenated is offline   Reply With Quote
Old 28/01/2017, 08:19 AM   #18
iLearner
Guest
 
Posts: n/a
Default Re: PAWN for SA-MP in Sublime Text 3

Thanks for the tutorial, everything worked except the thing, that when i build / compile the output is something like this:

Quote:
Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Prog ram Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Users\iLearner\AppData\Loc al\Microsoft\WindowsApps;]
  Reply With Quote
Old 28/01/2017, 07:40 PM   #19
PeanutButter
Big Clucker
 
PeanutButter's Avatar
 
Join Date: May 2015
Location: Belgium
Posts: 104
Reputation: 35
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by iLearner View Post
Thanks for the tutorial, everything worked except the thing, that when i build / compile the output is something like this:
You did something wrong in the build file. Are you using the standard PAWN compiler or something else? Which OS do you use?

To fix it you have to edit the file that you made, located in: (or just make a new one)
C:\Users\YOUR PC USERNAME HERE\AppData\Roaming\Sublime Text 3\Packages\User

Code:
{
	"cmd": ["pawncc.exe", "-i includes", "$file", "-;+"],
	"path": "C:/path/to/pawncc/folder"
}
Quote:
Originally Posted by PeanutButter View Post
If for example this is the location of pawncc.exe:
C:\Users\name\Desktop\MyServer\pawno\pawncc.exe

Then this should be your path:
C:/Users/name/Desktop/MyServer/pawno
The path does not end with pawncc.exe
  • Try using these slashes for your path /
    instead of these ones \
  • If you use an other compiler, you have to replace pawncc.exe with the other one.
    and adjust the path if necessary
  • The build file is case-sensitive, so check if everything is correct

More info on build files:
http://sublimetext.info/docs/en/refe...d_systems.html
__________________
MY TUTORIALS
MY INCLUDES
PeanutButter is offline   Reply With Quote
Old 30/01/2017, 07:19 AM   #20
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,920
Reputation: 258
Default Re: PAWN for SA-MP in Sublime Text 3

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
__________________
actor_plus - v5.0.2
I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath

Last edited by Dayrion; 30/01/2017 at 08:36 AM.
Dayrion 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 08:44 AM
Sublime text and pawn? danielpalade Scripting Help 1 12/09/2016 01:42 AM
[Tool/Web/Other] Sublime Text 2 with PAWN included Andre02 Tools and Files 8 14/08/2016 01:08 PM
[Tutorial] PAWN for SA-MP in Sublime Text 2 Macluawn Tutorials 69 15/08/2015 04:04 AM


All times are GMT. The time now is 10:22 AM.


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