Tutorial: Script with Notepad++ !
#1

This small tutorial explain how to use Notepad++ as a replacement for Pawno.

Many advantages, but one inconvenient: no functions list (yet). Still interested?


  • Download and install Dracoblue's Pawn syntax highlighter for Notepad++

  • Go into C:\Documents and Settings\<you>\Application Data\Notepad++\plugins\config

  • Open NppExec.ini and modify as follow (or delete all in the file and add this)
    Code:
    [Console]
    Visible=1
    ShowHelp=0
    Encoding=290
    SaveOnExecute=1
    CmdHistory=1
    SaveCmdHistory=1
    NoInternalMsgs=1
    CdCurDir=1
    [Restore]
    LastSelectedScript=1
    [ExitBox]
    I0="exit"
    [ConsoleOutputFilter]
    RecognitionMask0="%ABSFILE%(%LINE%) : warning*"
    RecognitionEffect0="+E 00 00 FF -I +B -U"
    RecognitionMask1="%ABSFILE%(%LINE%) : error*"
    RecognitionEffect1="+E FF 00 00 -I +B -U"
    RecognitionMask2="%ABSFILE%(%LINE%) : fatal error*"
    RecognitionEffect2="+E 00 00 00 -I +B -U"
  • Open or create (in the same folder of the previous step) npes_saved.txt and add this:
    Code:
    ::pawncc
    <path to pawncc.exe> "$(FULL_CURRENT_PATH)" -;
    //In my case it's: E:\GTA San Andreas\samp_server_02X\pawno\pawncc.exe "$(FULL_CURRENT_PATH)" -;
  • You can change the shortcut for compiling (by default, CTRL+F6) by going in Settings -> Shorcut mapper -> Plugins commands and change the shortcut of Direct Execute Previous to F5 or whatever you want.

  • Done! Have fun.


Reply


Messages In This Thread
Tutorial: Script with Notepad++ ! - by yom - 06.05.2009, 05:31
Re: Tutorial: Script with Notepad++ ! - by Joe Staff - 06.05.2009, 05:59
Re: Tutorial: Script with Notepad++ ! - by Burridge - 06.05.2009, 06:15
Re: Tutorial: Script with Notepad++ ! - by Dabombber - 06.05.2009, 09:17
Re: Tutorial: Script with Notepad++ ! - by yom - 06.05.2009, 13:49
Re: Tutorial: Script with Notepad++ ! - by Danut - 06.05.2009, 17:07
Re: Tutorial: Script with Notepad++ ! - by Rks25 - 06.05.2009, 17:14
Re: Tutorial: Script with Notepad++ ! - by yom - 06.05.2009, 18:04
Re: Tutorial: Script with Notepad++ ! - by lavamike - 06.05.2009, 20:58
Re: Tutorial: Script with Notepad++ ! - by ferriswheel - 06.05.2009, 21:22

Forum Jump:


Users browsing this thread: 1 Guest(s)