notepad++
#1

I just started using notepad++ and testing it out with a VERY basic code and i get this...
Код:
Current directory: C:\Users\Michael\Desktop\ARP\gamemodes
.p(0) : fatal error 100: cannot read from file: ".p"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
================ READY ================
Code I am testing with.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
     if(strcmp(cmdtext, "/goto") == 0) 
     {
         SetPlayerPos(playerid, -1967.8365, 2956.9823, 12.9375);
         return 1;
     }
     return 0;
}
Reply
#2

Try saving the file as .pwn instead of .p
Reply
#3

It is saved as .pwn
Reply
#4

any other ideas?
Reply
#5

You have a #include <.p> ?
Reply
#6

nope
Reply
#7

You've included some sort of .p file. It could be..

#include something.p
#include "something.p"
or #include <something.p>

(most likely the latter two, as the first is wrong).
Reply
#8

press F6 and post here what does it contain.
Reply
#9

I don't think so, I am using the sa-mp server I downloaded. all that is in it I added is the little command.
Reply
#10

Quote:
Originally Posted by kirollos
Посмотреть сообщение
press F6 and post here what does it contain.
Код:
npp_save
cd $(CURRENT_DIRECTORY)
"C:\Users\Michael\Desktop\ARP\pawno\pawncc.exe" "$(arp)" -; -(
That is what i get when I hit F6
Reply
#11

Try the last line like that:

Код:
"C:\Users\Michael\Desktop\ARP\pawno\pawncc.exe" "$(FILE_NAME)"
Reply
#12

Quote:
Originally Posted by kirollos
Посмотреть сообщение
Try the last line like that:

Код:
"C:\Users\Michael\Desktop\ARP\pawno\pawncc.exe" "$(FILE_NAME)"
That worked, thanks bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)