SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 18/02/2011, 09:04 PM   #131
Mean
High-roller
 
Join Date: Jul 2010
Location: 14th annual lemon party
Posts: 2,727
Reputation: 229
Default Re: PAWN for SA-MP in Notepad++

Code:
cd $(CURRENT_DIRECTORY)
"C:\Program Files (x86)\PAWN Compiler\pawncc.exe" "$(FILE_NAME)" -; -(
Same as the one he posted ^^.
EDIT: Got it working.
__________________
I'm pretty much the creator of the PUB: macro used in many scripts today, therefore I'm a legitimate genius.

Ground breaking stuff
Quote:
Originally Posted by ******
I've met Mean on a few occasions in real life, a true genius and a 400 pound all-muscle gorilla alpha male. He has had a great influence on my life.
Quote:
Originally Posted by Kalcor
I don't know where I'd be today without Mean. He has helped me through some tough times in my life. He always brings a smile to my face. Such a positive lad!
Mean is offline   Reply With Quote
Old 18/02/2011, 09:09 PM   #132
!Phoenix!
Big Clucker
 
Join Date: Feb 2011
Location: 127.0.0.1 - Germany
Posts: 81
Reputation: 0
Default AW: PAWN for SA-MP in Notepad++

I hope you replaced "C:\Program Files (x86)\PAWN Compiler\pawncc.exe" with your path resp. you have your PAWN-Compiler in the same directory as in the example?
!Phoenix! is offline   Reply With Quote
Old 19/02/2011, 10:23 AM   #133
!Phoenix!
Big Clucker
 
Join Date: Feb 2011
Location: 127.0.0.1 - Germany
Posts: 81
Reputation: 0
Default AW: PAWN for SA-MP in Notepad++

Meanwhile I've had accepted that I have to use my portable edition.
But there is a little problem with it, too:
The Folder Open/Close Keywords don't work. When I change them from "{ }" to something else ("<<test test>>") it works, but not with the brackets.
(You can't show/hide the sections)
!Phoenix! is offline   Reply With Quote
Old 19/02/2011, 10:24 AM   #134
Slice
High-roller
 
Join Date: Mar 2008
Posts: 1,831
Reputation: 1607
Default Re: AW: PAWN for SA-MP in Notepad++

Quote:
Originally Posted by !Phoenix! View Post
Meanwhile I've had accepted that I have to use my portable edition.
But there is a little problem with it, too:
The Folder Open/Close Keywords don't work. When I change them from "{ }" to something else ("<<test test>>") it works, but not with the brackets.
(You can't show/hide the sections)
Pop up the User-Define Dialogue then remove { and } from operators (make sure you selected PAWN at the top). You'll have issues with the highlighting of brackets if you do that, however.
Slice is offline   Reply With Quote
Old 19/02/2011, 10:29 AM   #135
!Phoenix!
Big Clucker
 
Join Date: Feb 2011
Location: 127.0.0.1 - Germany
Posts: 81
Reputation: 0
Default AW: PAWN for SA-MP in Notepad++

Thanks, Slice, It works!
But what do you mean with highlighting issues? The Colors for the brackets are defined in the "Folder and Default" Tab as well.
!Phoenix! is offline   Reply With Quote
Old 19/02/2011, 10:32 AM   #136
Mean
High-roller
 
Join Date: Jul 2010
Location: 14th annual lemon party
Posts: 2,727
Reputation: 229
Default Re: PAWN for SA-MP in Notepad++

Oh, I got another problem. My compiler doesn't show warnings/errors. If I do like new abcd; I will not get the warning that it's unused.
__________________
I'm pretty much the creator of the PUB: macro used in many scripts today, therefore I'm a legitimate genius.

Ground breaking stuff
Quote:
Originally Posted by ******
I've met Mean on a few occasions in real life, a true genius and a 400 pound all-muscle gorilla alpha male. He has had a great influence on my life.
Quote:
Originally Posted by Kalcor
I don't know where I'd be today without Mean. He has helped me through some tough times in my life. He always brings a smile to my face. Such a positive lad!
Mean is offline   Reply With Quote
Old 19/02/2011, 10:36 AM   #137
!Phoenix!
Big Clucker
 
Join Date: Feb 2011
Location: 127.0.0.1 - Germany
Posts: 81
Reputation: 0
Default AW: PAWN for SA-MP in Notepad++

@Slice: You see what I mean? ; D ("mean" - what a pun oO )

Mean you have to save the script before compiling; the compiler simply opens the saved file.
If you want it to save automatically write "npp_save" above the "cd $(CURRENT_DIRECTORY)"
!Phoenix! is offline   Reply With Quote
Old 19/02/2011, 10:44 AM   #138
Mean
High-roller
 
Join Date: Jul 2010
Location: 14th annual lemon party
Posts: 2,727
Reputation: 229
Default Re: PAWN for SA-MP in Notepad++

Thank you .
__________________
I'm pretty much the creator of the PUB: macro used in many scripts today, therefore I'm a legitimate genius.

Ground breaking stuff
Quote:
Originally Posted by ******
I've met Mean on a few occasions in real life, a true genius and a 400 pound all-muscle gorilla alpha male. He has had a great influence on my life.
Quote:
Originally Posted by Kalcor
I don't know where I'd be today without Mean. He has helped me through some tough times in my life. He always brings a smile to my face. Such a positive lad!
Mean is offline   Reply With Quote
Old 19/02/2011, 11:03 AM   #139
Jochemd
High-roller
 
Jochemd's Avatar
 
Join Date: Jul 2009
Location: The Netherlands
Posts: 2,220
Reputation: 844
Default Re: PAWN for SA-MP in Notepad++

Still using this - best scripting editor every, I have to thank so much to Slice!
__________________
Jochemd is offline   Reply With Quote
Old 28/02/2011, 06:06 AM   #140
Antonio [G-RP]
High-roller
 
Join Date: Jul 2009
Location: Canada
Posts: 1,114
Reputation: 4
Default Re: PAWN for SA-MP in Notepad++

I've done everything I needed to do, but auto-complete won't work.

Also, I want my Notepad++ coding to look similar to pawno, with all the colors and stuff.
__________________
If I've helped you at all, give me a REP. It's appreciated.
Antonio [G-RP] 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 plugin for Notepad++ ettans Help Archive 5 18/05/2011 05:23 PM
Tutorial: Script with Notepad++ ! yom Help Archive 12 27/01/2011 09:41 AM
How to make something in pawno respond with a notepad? anonymoushacker Help Archive 3 31/07/2009 11:31 PM
Notepad++ plugin help johnmeikle33 Help Archive 3 11/03/2009 09:04 PM


All times are GMT. The time now is 12:03 AM.


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