ZCMD Cannot read from file.
#1

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

I have zcmd.inc in includes and I don't know what to do, maybe someone knows what's the problem here ?
Reply
#2

Open your file from pawno.exe not by clicking on it.

Also make sure you have it in Pawno / Includes.
Reply
#3

You need to have it in the /pawno/includes folder.
Reply
#4

I tried that, I clicked compile and it's again that error.
Do you know what else will may be a problem ?
Reply
#5

do one thing, download a new samp0.3x server file. In that make sure there is a "zcmd.inc" file in the pawno folder. If there is open the pawno.exe from the new file you downloaded, open your script from there and try compiling.
Reply
#6

I forgot to extract zcmd.inc in pawno>includes it's okay now.
Then I get error with ysi/y_ini I solved that and now I have new error
warning 204: symbol is assigned a value that is never used: "idv"
What to do now ?
Reply
#7

That means you made new idv but didn't use it in anything.. better delete it.
Reply
#8

Quote:
Originally Posted by SilverKiller
Посмотреть сообщение
That means you made new idv but didn't use it in anything.. better delete it.
Код:
new idv = GetPlayerVehicleID(playerid);
There is problem, and here is whole command.

Код:
CMD:stopvoznja(playerid, params[])
	{
	    new idv = GetPlayerVehicleID(playerid);
		if(pInfo[playerid][pJob] != 2)// proverava jel igrac ima odgovarajuci posao
		{
			SendClientMessage(playerid, SIVA, "Nisi vozac autobusa!");
			return 1;
		}
		if(VoziBus[playerid] >= 1) // proverava da li igrac vozi bus
		{
			VoziBus[playerid] = 0;
			DisablePlayerCheckpoint(playerid);
			SendClientMessage(playerid, BELA, "Prekinuo si voznju busa!");

		}
Reply
#9

You can delete the var idv as it is not used in this command.
Reply
#10

Okay I did it. I don't have any error but one more problem.
I run samp-server.exe and on the bottom says "Run time error 19: File or function not found"
Number of vehicle models:0

Please help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)