SA-MP Forums Archive
[Tutorial] PAWN for SA-MP in Sublime Text 3 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] PAWN for SA-MP in Sublime Text 3 (/showthread.php?tid=626423)

Pages: 1 2 3 4


Re: PAWN for SA-MP in Sublime Text 3 - n00blek - 19.11.2017

bump
PHP Code:
C:\Users\lenovo\AppData\Roaming\Sublime Text 3\Packages\User\pawno_compiler.sublime-build(1) : error 055start of function body without function header
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase


2 Errors
.
C:\Users\lenovo\AppData\Roaming\Sublime Text 3\Packages\User\pawno_compiler.sublime-build(4) : error 013no entry point (no public functions)
[
Finished in 1.1s with exit code 1]
[
cmd: ['pawncc.exe''-i includes''C:\\Users\\lenovo\\AppData\\Roaming\\Sublime Text 3\\Packages\\User\\pawno_compiler.sublime-build''-;+']]
[
dirC:\Users\lenovo\AppData\Roaming\Sublime Text 3\Packages\User]
[
pathC:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Skype\Phone\;] 



Re: PAWN for SA-MP in Sublime Text 3 - n00blek - 13.12.2017

still nothing?


Re: PAWN for SA-MP in Sublime Text 3 - Saddin - 29.01.2018

Quote:
Originally Posted by cengiz6155
View Post
Output:

907 Warnings.

warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level
warning 219: local variable "i" shadows a variable at a preceding level

Please, help.
how do you fix these warnings?


Re: PAWN for SA-MP in Sublime Text 3 - Shomy1995 - 01.02.2018

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:
Code:
C:\Users\MyName\Desktop\samp03DL\pawno\include\sscanf2.inc(30) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
I have both files included in my file like this:
Code:
#include <a_samp>
#include <a_npc>
and the file works perfectly with normal pawn, no errors. Notice: I am using "Faster Pawno" https://github.com/pawn-lang/compiler

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

EDIT: Solved! Apparently doesn't work with Faster Pawno


Re: PAWN for SA-MP in Sublime Text 3 - Revazix - 05.02.2018

thanks for this!


Re: PAWN for SA-MP in Sublime Text 3 - Misiur - 05.02.2018

If you want to use faster pawn compiler without having to edit some libraries, use "-Z+" flag.


Re: PAWN for SA-MP in Sublime Text 3 - GospodinX - 02.12.2018

Hi

How I can compile with -d3 ? Thanks


Re: PAWN for SA-MP in Sublime Text 3 - Bif - 02.04.2019

.p(0) : fatal error 100: cannot read from file: ".p"
Pawn compiler 3.2.3664 Copyright © 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!