Error with Sublime text 2
#1

I'm getting that error
PHP код:
[Error 2The system cannot find the file specified
[cmd:  [u'/pawno/pawncc.exe'u''u'-;+'u'-v2'u'-d3'u'-\\)+']]
[
dir:  C:\Program Files\Sublime Text 2]
[
pathC:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\]
[
Finished
It'd be nice if you helped me.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=445985 I think you may get help from here.
Reply
#3

Add this in pawn.sublime-build:
pawn Код:
{
    "cmd": ["pawncc.exe", "-d3 -r -i includes", "$file", "-;+"],
    "path": "/*your directory*/\\samp03z_svr_R1-2_win32\\pawno"
}
Reply
#4

Liek that ?
PHP код:
{
    
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe""$file_name""-;+""-v2""-d3""-\\)+"],
    
"working_dir""${file_path}",
    
"file_regex""^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$",
    
"variants": [
        {
            
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe""$file_name""-;+""-v2""-d3""-\\)+""-l"],
            
"working_dir""${file_path}",
            
"name""Preprocessed output"
        
},
        {
            
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe""$file_name""-;+""-v2""-d3""-\\)+""-a"],
            
"working_dir""${file_path}",
            
"name""P-code output"
        
}
        {
                
"cmd": ["pawncc.exe""-d3 -r -i includes""$file""-;+"],
             
"path""/*your directory*/\\samp03z_svr_R1-2_win32\\pawno"
        
}    
    ]

If yes, I'm getting an error
Reply
#5

No not all these. Just the 2 lines I showed you.
Reply
#6

Thanks for helping but i'm still getting an error

PHP код:
[Error 2The system cannot find the file specified
[cmd:  [u'pawncc.exe'u'-d3 -r -i includes'u''u'-;+']]
[
dir:  C:\Program Files\Sublime Text 2]
[
path/*your directory*/\samp03z_svr_R1-2_win32\pawno]
[
Finished
:/
Reply
#7

Add your directory here, like:
pawn Код:
"path": "E:\\SAMP\\samp03z_svr_R1-2_win32\\pawno"
Reply
#8

Shit, I look dumb recently. Didn't look at those lines. Thanks a lot.
Reply
#9

PHP код:
.p(0) : fatal error 100cannot read from file".p"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
1 Error
.
[
Finished in 0.3s with exit code 1
Everything went good with the compiling but there is something wrong here.
Reply
#10

anyone, Urgent help needed :/ ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)