/interiors
#6

I re-put on the /interiors command, these are the errors now:

Код:
C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(54875) : error 017: undefined symbol "AdminDuty"
C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(54875) : warning 215: expression has no effect
C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(54875) : error 001: expected token: ";", but found "]"
C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(54875) : error 029: invalid expression, assumed zero
C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(54875) : fatal error 107: too many error messages on one line

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


4 Errors.
Код:
CMD:interiors(playerid, params[])
{
	if (PlayerInfo[playerid][pAdmin] >= 4)
	{
		if(AdminDuty[playerid] != 1 && PlayerInfo[playerid][pAdmin] < 6)
	    {
	        SendClientMessage(playerid,COLOR_WHITE, "You can only chat while off-duty. Type /aduty to go on-duty.");
			return 1;
	    }
		ShowInteriorDialog(playerid);
	}
	else
	{
		SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
	}
	return 1;
}
Reply


Messages In This Thread
/interiors - by Ryan McDuff - 01.02.2014, 18:19
Re: /interiors - by DaniceMcHarley - 01.02.2014, 18:49
Re: /interiors - by Ryan McDuff - 01.02.2014, 19:02
Re: /interiors - by Ryan McDuff - 01.02.2014, 19:33
Re: /interiors - by DaniceMcHarley - 01.02.2014, 19:48
Re: /interiors - by Ryan McDuff - 01.02.2014, 19:48
Re: /interiors - by Ryan McDuff - 01.02.2014, 19:53
Re: /interiors - by DaniceMcHarley - 01.02.2014, 19:58
Re: /interiors - by Ryan McDuff - 01.02.2014, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)