Compile error
#1

So as the topic says i am a rookie designing my gamemod and have successfully so far designed my teams and spawns etc colors.

The thing is i was adding register and login system with Dof2 #include <Double-O-Files_2>
and when i compile i get error
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(10) : fatal error 100: cannot read from file: "Double-O-Files_2"

If u can help me

i shall be obliged and rep for you
Reply
#2

Just put that include in "Your server name\pawno\include" than open your gamemode from pawno and compile it, that's all.
Reply
#3

i DID that still i get this error
i tried to close pawno and do again but no luck
Reply
#4

zzzzz
help
Reply
#5

Make sure you open the right PAWNO.

Open the pawno.exe inside the folder where you put your include.
Reply
#6

i did that
the samp host folder is just 1 folder with pawno files and includes
?
bump
Reply
#7

Folder structure:
  • D:\SAMP STUFF\SAMP HOST\pawno\
    Here is your pawno.exe
    ___
  • D:\SAMP STUFF\SAMP HOST\pawno\include\
    Here should be the Double O files include.
now if you start the pawno of D:\SAMP STUFF\SAMP HOST\pawno\pawno.exe
and compile, it will work.
also, make sure that you wrote the include's name correctly.
Reply
#8

the include file was named dof2
so is it right ?
Reply
#9

Put this in your gamemode #include <DOF2>, not #include <Double-O-Files_2>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)