SA-MP Forums Archive
Well I Need Some Help About This Problem ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Well I Need Some Help About This Problem ! (/showthread.php?tid=468988)



Well I Need Some Help About This Problem ! - ILoveBacon - 11.10.2013

Can You Help Me With This

Код:
C:\Users\owner\Desktop\NGTDM.pwn(4253) : fatal error 100: cannot read from file: "includes/objects.pwn"

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

1 Error.
Screen shot:



Re: Well I Need Some Help About This Problem ! - iZN - 11.10.2013

you don't have objects.pwn in includes folder. That is your script? I don't think so


Re: Well I Need Some Help About This Problem ! - xVIP3Rx - 11.10.2013

Make sure you have the Object.pwn in your includes folder, And remove the .pwn from the script if it's an include..(.inc) Or something else


Re: Well I Need Some Help About This Problem ! - Jankingston - 11.10.2013

just check that object.pwn is in your pawno/includes folder


Re: Well I Need Some Help About This Problem ! - Pottus - 11.10.2013

Also it should be

#include "includes\objects.pwn"


Re: Well I Need Some Help About This Problem ! - Dragonsaurus - 11.10.2013

Remove: Didn't see above post.


Re: Well I Need Some Help About This Problem ! - DanishHaq - 11.10.2013

Include files are suppose to be .inc as far as I know. I think you're trying to load a filterscript, just copy + paste the code from there into your main GM. What you're doing won't work.


Re: Well I Need Some Help About This Problem ! - Konstantinos - 11.10.2013

Some people separate their files and they connect them all in the main file. (All those to gamemode).

In the gamemodes directory, there are:

Server_Main.pwn and Server_Main.amx
Server_Objects.pwn
Server_Admin.pwn
Server_Vehicles.pwn

And then in the Server_Main.pwn file:

pawn Код:
#include "Server_Objects.pwn"
#include "Server_Admin.pwn"
#include "Server_Vehicles.pwn"
Is this what you want to do?


Re: Well I Need Some Help About This Problem ! - Astralis - 11.10.2013

pawn Код:
#include "../includes/objects.pwn"



Re: Well I Need Some Help About This Problem ! - ILoveBacon - 12.10.2013

Ok Got It My Problem Is Solved.
Thanks For Who All Helping Me.