SA-MP Forums Archive
fatal error 100: cannot read from file: "a_samp" - 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: fatal error 100: cannot read from file: "a_samp" (/showthread.php?tid=609421)



fatal error 100: cannot read from file: "a_samp" - Progamerisrael1 - 12.06.2016

fatal error 100: cannot read from file: "a_samp"

Help me, please it's very important for me


Re: fatal error 100: cannot read from file: "a_samp" - JXF - 12.06.2016

Download the windows server from here
Copy the a_samp.inc from: pawno ->> include ->> a_samp.inc
Put it in your pawno include and make sure you have
Код:
#include <a_samp>
at the top of your script.


Re: fatal error 100: cannot read from file: "a_samp" - Progamerisrael1 - 12.06.2016

Quote:
Originally Posted by JXF
Посмотреть сообщение
Download the windows server from here
Copy the a_samp.inc from: pawno ->> include ->> a_samp.inc
Put it in your pawno include and make sure you have
Код:
#include <a_samp>
at the top of your script.
Now I got it -
Код:
C:\Users\NivZiv\Desktop\samp037_svr_R2-1-1_win32\gamemodes\SuperDm.pwn(11708) : error 017: undefined symbol "PlayerACFile"
C:\Users\NivZiv\Desktop\samp037_svr_R2-1-1_win32\gamemodes\SuperDm.pwn(11708) : error 017: undefined symbol "CreateACFile"



Re: fatal error 100: cannot read from file: "a_samp" - JXF - 12.06.2016

you haven't defined PlayerACFile and CreateACFile
click


Re: fatal error 100: cannot read from file: "a_samp" - Xdrime - 12.06.2016

Код:
new PlayerACFile;
new CreateACFile;
try this


Re: fatal error 100: cannot read from file: "a_samp" - J0sh... - 12.06.2016

Quote:
Originally Posted by Xdrime
Посмотреть сообщение
Код:
new PlayerACFile;
new CreateACFile;
try this
No no no no... they're probably functions, not variables.
@OP: Make sure whatever include they're defined in or you have actually defined them.


Re: fatal error 100: cannot read from file: "a_samp" - Progamerisrael1 - 12.06.2016

Quote:
Originally Posted by JXF
Посмотреть сообщение
Download the windows server from here
Copy the a_samp.inc from: pawno ->> include ->> a_samp.inc
Put it in your pawno include and make sure you have
Код:
#include <a_samp>
at the top of your script.
And how I defined it?


Re: fatal error 100: cannot read from file: "a_samp" - Progamerisrael1 - 12.06.2016

It's did my errors
Код:
if(!dini_Exists(Bulletin-Board))
	{
	dini_Create(Bulletin-Board);
	dini_IntSet(Bulletin-Board,"Bulletin_State",0);
	print("-- Bulletin Board File (Bulletin-Board.ini) Created.");
	}
	SetTimer("Bulletin_Board",10*60*1000,1);
	
	for(new i; i < 200; i ++)
	{
	if(!dini_Exists(PlayerACFile(i)))CreateACFile(i);
	}
How I can fix it?


Re: fatal error 100: cannot read from file: "a_samp" - AliBro - 12.06.2016

Quote:
Originally Posted by Progamerisrael1
Посмотреть сообщение
And how I defined it?
you dont need to define just type that "#include <a_samp>


Re: fatal error 100: cannot read from file: "a_samp" - Progamerisrael1 - 12.06.2016

Quote:
Originally Posted by AliBro
Посмотреть сообщение
you dont need to define just type that "#include <a_samp>
Yeah, I've it but it's give me the errors what I typed.