fatal error 100: cannot read from file
#1

C:\Users\NASTIE\Desktop\Untitled.pwn(6) : fatal error 100: cannot read from file: "../include/gl_common.inc"

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


1 Error.

Code i put

pawn Код:
LoadStaticVehiclesFromFile("/vehicles/bone.txt");
    LoadStaticVehiclesFromFile("/vehicles/flint.txt");
    LoadStaticVehiclesFromFile("/vehicles/ls_airpot.txt");
    LoadStaticVehiclesFromFile("/vehicles/ls_gen_inner.txt");
    LoadStaticVehiclesFromFile("/vehicles/ls_gen_outer.txt");
    LoadStaticVehiclesFromFile("/vehicles/ls_law.txt");
    LoadStaticVehiclesFromFile("/vehicles/lv_airpot.txt");
    LoadStaticVehiclesFromFile("/vehicles/lv_gen.txt");
    LoadStaticVehiclesFromFile("/vehicles/lv_law.txt");
    LoadStaticVehiclesFromFile("/vehicles/pilots.txt");
    LoadStaticVehiclesFromFile("/vehicles/red_county.txt");
    LoadStaticVehiclesFromFile("/vehicles/sf_airpot.txt");
    LoadStaticVehiclesFromFile("/vehicles/sf_gen.txt");
    LoadStaticVehiclesFromFile("/vehicles/sf_law.txt");
    LoadStaticVehiclesFromFile("/vehicles/sf_train.txt" );
    LoadStaticVehiclesFromFile("/vehicles/tierra.txt");
    LoadStaticVehiclesFromFile("/vehicles/trains.txt");
    LoadStaticVehiclesFromFile("/vehicles/whetstone.txt");
and line of error

#include "../include/gl_common.inc"

Can someone help

i have in scriptfiles vehicle folder
Reply
#2

You must have gl_common.inc in your_server_location/include folder
Reply
#3

Wrong, it needs to be in server_folder/pawno/includes.
Reply
#4

Quote:
Originally Posted by Jochemd
Wrong, it needs to be in server_folder/pawno/includes.
No, it is not wrong
Quote:
Originally Posted by DarkPower
#include "../include/gl_common.inc"
So
Quote:
Originally Posted by Sinyavski
your_server_location/include
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)