SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 21/10/2010, 05:00 PM   #61
legodude
Gangsta
 
legodude's Avatar
 
Join Date: Sep 2009
Location: 127.0.0.1 duhh
Posts: 878
Reputation: 668
Default Re: PAWN for SA-MP in Notepad++

i just copied what you gave and changed the filepath to C:/program files/notepad++/pawno/pawncc.exe

or something. it can't bbe inorrecect cuz i copied it from the file explorer
__________________
legodude is offline   Reply With Quote
Old 21/10/2010, 11:29 PM   #62
-Sneaky-
High-roller
 
Join Date: Jul 2006
Posts: 1,011
Reputation: 24
Default Re: PAWN for SA-MP in Notepad++

Nice stuff Slice, thanks. Shift+tab in notepad++ FTW
-Sneaky- is offline   Reply With Quote
Old 24/10/2010, 09:03 AM   #63
legodude
Gangsta
 
legodude's Avatar
 
Join Date: Sep 2009
Location: 127.0.0.1 duhh
Posts: 878
Reputation: 668
Default Re: PAWN for SA-MP in Notepad++

can you plz help me with the compiler?
__________________
legodude is offline   Reply With Quote
Old 24/10/2010, 02:12 PM   #64
Slice
High-roller
 
Slice's Avatar
 
Join Date: Mar 2008
Location: Sweden
Posts: 1,859
Reputation: 1249
Default Re: PAWN for SA-MP in Notepad++

It should look like this:
Code:
cd $(CURRENT_DIRECTORY)
"C:/program files/notepad++/pawno/pawncc.exe" "$(FILE_NAME)" -; -(
__________________
Do you like SA-MP and DayZ? Come play both: ulclan.com:1421

Do you use any scripts I've made?
Star them on GitHub or reply in their topics so I know what I should keep working on!
Slice is offline   Reply With Quote
Old 24/10/2010, 02:16 PM   #65
LarzI
High-roller
 
LarzI's Avatar
 
Join Date: Apr 2007
Location: Norway
Posts: 3,554
Reputation: 130
Default Re: PAWN for SA-MP in Notepad++

Correction:

Code:
npp_save
cd $(CURRENT_DIRECTORY)
"C:/program files/notepad++/pawno/pawncc.exe" "$(FILE_NAME)" -; -(
__________________


NEW: [FS] Simple Cellphones

if( strfind( title, "REP", true ) != -1 )
{________________________________________
Sigh();__________________________
}________________________________________


LarzI is offline   Reply With Quote
Old 24/10/2010, 09:05 PM   #66
Slice
High-roller
 
Slice's Avatar
 
Join Date: Mar 2008
Location: Sweden
Posts: 1,859
Reputation: 1249
Default Re: PAWN for SA-MP in Notepad++

Quote:
Originally Posted by LarzI View Post
Correction:

Code:
npp_save
cd $(CURRENT_DIRECTORY)
"C:/program files/notepad++/pawno/pawncc.exe" "$(FILE_NAME)" -; -(
Personally I don't want it to automatically save before compiling cause I could be messing around with include files, yet having unfinished code in the script.



Quote:
Originally Posted by -Sneaky- View Post
Nice stuff Slice, thanks. Shift+tab in notepad++ FTW
CTRL + Shift + Up/Down ftw!
__________________
Do you like SA-MP and DayZ? Come play both: ulclan.com:1421

Do you use any scripts I've made?
Star them on GitHub or reply in their topics so I know what I should keep working on!
Slice is offline   Reply With Quote
Old 27/10/2010, 06:32 PM   #67
thiaZ_
Big Clucker
 
Join Date: Nov 2009
Posts: 169
Reputation: 7
Default Re: PAWN for SA-MP in Notepad++

Awesome turorial Slice, nice work.
thiaZ_ is offline   Reply With Quote
Old 27/10/2010, 11:59 PM   #68
BiieL
High-roller
 
BiieL's Avatar
 
Join Date: May 2010
Location: Fim de Mundo
Posts: 1,254
Reputation: 2
Default Respuesta: Re: PAWN for SA-MP in Notepad++

g_aSlice:
to me it's better use npp_save
because without this, my compiler don't show errors or warnings ..
but if i put npp_save show errors and warnings

So the person of go install decided this
__________________
BiieL is offline   Reply With Quote
Old 09/11/2010, 08:10 AM   #69
Faraday
Big Clucker
 
Join Date: Jan 2007
Location: Belgium
Posts: 122
Reputation: 0
Default Re: PAWN for SA-MP in Notepad++

Slice,

how can I add .pwn extension to the Save As.. thingy?
I hate to always put the file extension behind the filename and save file type as all files..

__________________
The Official littlewhitey's SA:MP Server: 94.23.120.101:7778
Faraday is offline   Reply With Quote
Old 09/11/2010, 08:50 AM   #70
Extremo
Gangsta
 
Join Date: Jul 2008
Posts: 908
Reputation: 52
Default AW: PAWN for SA-MP in Notepad++

Here is a small solution for the compiling problem. Create a shadow of the file with some random name and compile that file for the given time so that it gives you errors and after the compilation has been processed delete this file and rename the output file.

That should do the trick. Though I am not certain if this is possible in notepad++, I have to admit I never really used notepad++ :P
__________________
Extremo 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 04: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 10:31 PM
Notepad++ plugin help johnmeikle33 Help Archive 3 11/03/2009 08:04 PM


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


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