SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 10/11/2017, 09:12 PM   #71
billy1337samp
Banned
 
Join Date: Jun 2016
Posts: 52
Reputation: 9
Default Re: PAWN for SA-MP in Sublime Text 3

Quote:
Originally Posted by n00blek View Post
i have some bugs with compiler i got this http://prntscr.com/h8v38z
trying scrolling up or down in that box
billy1337samp is offline   Reply With Quote
Old 11/11/2017, 12:44 PM   #72
n00blek
Huge Clucker
 
Join Date: Aug 2017
Location: England is my city
Posts: 261
Reputation: 18
Default Re: PAWN for SA-MP in Sublime Text 3

.p(0) : fatal error 100: cannot read from file: ".p"

^^^^^^^^^^^^^^^^^^^^^^

i did that and i still got some bugs.

http://prntscr.com/h929j9
__________________
RMTeam Roleplay! Under construction.

192.168.64.100:7777

PM me for donations(not money, script commands)
n00blek is offline   Reply With Quote
Old 19/11/2017, 10:53 AM   #73
n00blek
Huge Clucker
 
Join Date: Aug 2017
Location: England is my city
Posts: 261
Reputation: 18
Default Re: PAWN for SA-MP in Sublime Text 3

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\;] 
__________________
RMTeam Roleplay! Under construction.

192.168.64.100:7777

PM me for donations(not money, script commands)
n00blek is offline   Reply With Quote
Old 13/12/2017, 05:14 PM   #74
n00blek
Huge Clucker
 
Join Date: Aug 2017
Location: England is my city
Posts: 261
Reputation: 18
Default Re: PAWN for SA-MP in Sublime Text 3

still nothing?
__________________
RMTeam Roleplay! Under construction.

192.168.64.100:7777

PM me for donations(not money, script commands)
n00blek is offline   Reply With Quote
Old 29/01/2018, 10:50 AM   #75
Saddin
Huge Clucker
 
Saddin's Avatar
 
Join Date: Mar 2011
Posts: 363
Reputation: 35
Default Re: PAWN for SA-MP in Sublime Text 3

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?
Saddin is offline   Reply With Quote
Old 01/02/2018, 03:29 PM   #76
Shomy1995
Little Clucker
 
Join Date: Jan 2018
Posts: 1
Reputation: 0
Default Re: PAWN for SA-MP in Sublime Text 3

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

Last edited by Shomy1995; 01/02/2018 at 04:53 PM.
Shomy1995 is offline   Reply With Quote
Old 05/02/2018, 08:54 PM   #77
Revazix
Little Clucker
 
Revazix's Avatar
 
Join Date: Sep 2015
Posts: 44
Reputation: 3
Default Re: PAWN for SA-MP in Sublime Text 3

thanks for this!
Revazix is offline   Reply With Quote
Old 05/02/2018, 09:26 PM   #78
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,543
Reputation: 552
Default Re: PAWN for SA-MP in Sublime Text 3

If you want to use faster pawn compiler without having to edit some libraries, use "-Z+" flag.
Misiur 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 21 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 11:33 PM.


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