SA-MP Forums

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

Thread Tools Display Modes
Old 02/04/2019, 08:58 AM   #81
Little Clucker
Join Date: Aug 2016
Location: somewhere on this rusty planet
Posts: 4
Reputation: 0
Smile Re: PAWN for SA-MP in Sublime Text 3

.p(0) : fatal error 100: cannot read from file: ".p"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

1 Error.

Compilation aborted.[Finished in 0.1s]

For people getting this error, you gotta save the file as .pwn first and then compile, then your problem will be solved!

Last edited by Bif; 02/04/2019 at 10:17 AM.
Bif is offline   Reply With Quote
Old 18/08/2019, 04:22 PM   #82
Little Clucker
Join Date: Jul 2019
Posts: 1
Reputation: 0
Default Re: PAWN for SA-MP in Sublime Text 3

Originally Posted by Shomy1995 View Post
Hey everyone! I followed this tutorial and did everything exactly as said. Now I tried loading my .pwn file and building it, and I am getting the following error:
C:\Users\MyName\Desktop\samp03DL\pawno\include\ : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
I have both files included in my file like this:
#include <a_samp>
#include <a_npc>
and the file works perfectly with normal pawn, no errors. Notice: I am using "Faster Pawno"

I am using SSCANF2 Version: MPL 1.1, this is on line 30 in that file:
#if defined _inc_a_npc
	#pragma library sscanf
#elseif !defined _inc_a_samp
// LINE 30	#error Please include <a_npc> or <a_samp> first.
Can someone help me please? Thanks in advance!

EDIT: Solved! Apparently doesn't work with Faster Pawno
It works but u have to edit your build system and add -Z+

for example i have this
	"cmd": ["pawncc.exe", "-i includes", "$file", "-;+", "-Z+"],
	"path": "C:/Users/Leonardo Fierro/AppData/Roaming/Sublime Text 3/SAMP Compiler/pawno" 
lephyak is offline   Reply With Quote
Old 25/11/2019, 03:09 AM   #83
Little Clucker
Markus_Bergman's Avatar
Join Date: Sep 2011
Posts: 16
Reputation: 0
Default Re: PAWN for SA-MP in Sublime Text 3

Go to Preferences>Package Control and choose Install Package and wait until a new window pops up

Preferences>Package lost!!
Wissen is Macht..
Markus_Bergman is offline   Reply With Quote

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 06:38 PM.

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