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=318609)



Cannot read from file - iDeal - 15.02.2012

Hey,
I downloaded the PPC Trucking server and when I compiled I get "cannot read from file: PPC_ServerSettings"
Help?


Re: Cannot read from file - BleverCastard - 15.02.2012

Same for me, I dunno what to do since the file is there.


Re: Cannot read from file - iDeal - 15.02.2012

can someone help. I got it defined aswell.


Re: Cannot read from file - tyler12 - 15.02.2012

use the attachment


Re: Cannot read from file - iDeal - 15.02.2012

hmm after that I get this:
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3d-R2, ©2005-2011 SA-MP Team

[22:47:14] 
[22:47:14] Server Plugins
[22:47:14] --------------
[22:47:14]  Loading plugin: sscanf
[22:47:14] 

[22:47:14]  ===============================

[22:47:14]       sscanf plugin loaded.     

[22:47:14]    © 2009 Alex "******" Cole

[22:47:14]  ===============================

[22:47:14]   Loaded.
[22:47:14]  Loading plugin: streamer
[22:47:14] 

*** Streamer Plugin v2.5.2 by Incognito loaded ***

[22:47:14]   Loaded.
[22:47:14]  Loaded 2 plugins.

[22:47:14] I couldn't load any gamemode scripts. Please verify your server.cfg
[22:47:14] It needs a gamemode0 line at the very least.
yes it is in the Gamemode


Re: Cannot read from file - tyler12 - 15.02.2012

show ur server.cfg...


Re: Cannot read from file - Konstantinos - 16.02.2012

It has to be on the gamemode's line on the server.cfg like this
pawn Код:
gamemode0 gamemode_name 1



Re: Cannot read from file - Mark™ - 16.02.2012

Код:
gamemode0 PPC_Trucking 1
it should be like that, if you didnt change the default name of the amx file.


Re: Cannot read from file - Toreno - 16.02.2012

Show us your server.cfg, it appears you don't have gamemode0 on your server.cfg settings.