fatal error 100: cannot read from file: "/scriptfiles/zones.pwn"
#1

Funny because the Zones.pwn is in the scriptfiles. >.>
Reply
#2

http://forum.sa-mp.com/showthread.ph...atal+error+100
Reply
#3

Quote:
Originally Posted by admantis
Посмотреть сообщение
Doesn't really help. I open the exact thing and it says the same error every time, every other gamemode works fine, but this one won't compile at all.


Reply
#4

How are you loading this file? Using #include?
Reply
#5

The directory for the pwn should be in pawno/includes, NOT scriptfiles as scriptfiles is a directory for scripts to save files and not where files should be executed from.
Reply
#6

C:\Users\David\Desktop\Dave's Server\gamemodes\ls-cnr.pwn(1095) : error 029: invalid expression, assumed zero
C:\Users\David\Desktop\Dave's Server\gamemodes\ls-cnr.pwn(1095) : warning 215: expression has no effect
C:\Users\David\Desktop\Dave's Server\gamemodes\ls-cnr.pwn(1095) : error 001: expected token: ";", but found "]"
C:\Users\David\Desktop\Dave's Server\gamemodes\ls-cnr.pwn(1095) : error 029: invalid expression, assumed zero
C:\Users\David\Desktop\Dave's Server\gamemodes\ls-cnr.pwn(1095) : fatal error 107: too many error messages on one line



Код:
public AdminOnPlayerText(playerid, text[])
{
	SendClientMessage(playerid, COLOR_WHITE, "Registration Complete. Welcome to the admin team! Type /ah to see a list of commands to use!");
	new accountpath[64];
	format(accountpath, 64, "/admins/%s.ini", PlayerName(playerid));
	dini_Create(accountpath);
	new buf[150];
	WP_Hash(buf, sizeof(buf), text);
	dini_Set(accountpath, "password", buf);
	dini_IntSet(accountpath, "pin", adpin[playerid]);
	format(buf, sizeof(buf), "ADMIN: Your admin login pin is: %d", adpin[playerid]);
	SendClientMessage(playerid, COLOR_GREEN, buf);
	PlayerInfo[playerid][Admin] = 1;        <-------- Line 1095
	PlayerInfo[playerid][AdminLogged] = true;
	makingadmin=-1;
	return 1;


I just added the .pwns to the GameMode..much easier lol.
Reply
#7

Help anyone? Also I get this


Код:
new PlayerInfo[MAX_PLAYERS][pInfo];
error 020: invalid symbol name ""
Reply
#8

error 029: invalid expression, assumed zero
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero


PlayerInfo[playerid][Admin] = 1;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)