SA-MP Forums Archive
Cannot Read From File - 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: Cannot Read From File (/showthread.php?tid=435125)



Cannot Read From File - NoahF - 05.05.2013

When I go to compile my gamemode, it says "cannot read from file CheckpointManager" when it is IN my pawno folder!!
Please help
Код:
#include <CheckpointManager>//Credits to Joгo Pedro Lopes



Re: Cannot Read From File - DaRk_RaiN - 05.05.2013

You might've opened the script with the wrong pawno.
Well go to the pawno which have the includes, open the pawno.exe then use it to open the script and compile.


Re: Cannot Read From File - ryanhawk31 - 05.05.2013

Or try copy the files from pawno/include to the Include folder in your server folder


Re: Cannot Read From File - NoahF - 05.05.2013

It worked thanks!!


Re: Cannot Read From File - NoahF - 05.05.2013

Now I get file or function is not found and no vehicle models are loaded


Re: Cannot Read From File - NoahF - 05.05.2013

Ok, i get this error for some lines
C:\Users\Noah\Desktop\[SK] DM SERVER\gamemodes\NVCNR.pwn(461 : warning 202: number of arguments does not match definition
here is the line
CreateCheckpoint(GLOBAL_OWNER_ID, BURGER1_CP, 2367.0552,2071.0693,10.8203, 1.0);


Re: Cannot Read From File - DaRk_RaiN - 05.05.2013

Check if you have any missing plugins, if not update them all.