Problem with errors [+REP]
#1

Код:
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(6238) : warning 202: number of arguments does not match definition
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(8365) : error 029: invalid expression, assumed zero
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(8365) : error 017: undefined symbol "cmd_fmute"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(8365) : error 029: invalid expression, assumed zero
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(8365) : fatal error 107: too many error messages on one line

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


4 Errors.
6238
Код:
    SaveAccounts(playerid);
8365 - 8390
Код:
CMD:fmute(playerid, params[])
{
	new gamer;
	if(!IsPlayerAdmin(playerid))
    return SendClientMessage(playerid, red, "Access Denied.");
	if (sscanf(params, "u", gamer)) SendClientMessage(playerid, red, "Използвай: \"/mute <Играч>");
	else if (gamer == INVALID_PLAYER_ID) SendClientMessage(playerid, red, "Играча на е намерен");
	else
	{
		SaveInfo[gamer][fMuted] = 1;
	}
	return 1;
}
CMD:funmute(playerid, params[])
{
	new gamer;
	if(!IsPlayerAdmin(playerid))
    return SendClientMessage(playerid, red, "Access Denied.");
	if (sscanf(params, "u", gamer)) SendClientMessage(playerid, red, "Използвай: \"/unmute <Играч>");
	else if (gamer == INVALID_PLAYER_ID) SendClientMessage(playerid, red, "Играча на е намерен");
	else
	{
		SaveInfo[gamer][fMuted] = 0;
	}
	return 1;
}
Reply


Messages In This Thread
Problem with errors [+REP] - by Ruffian - 31.08.2012, 14:08
Re: Problem with errors [+REP] - by Dan. - 31.08.2012, 14:11
Re: Problem with errors [+REP] - by RedJohn - 31.08.2012, 14:14
Re: Problem with errors [+REP] - by Ruffian - 31.08.2012, 14:44
Re: Problem with errors [+REP] - by Ruffian - 31.08.2012, 15:55
Re: Problem with errors [+REP] - by RedJohn - 31.08.2012, 16:07
Re: Problem with errors [+REP] - by Ruffian - 31.08.2012, 17:33
Re: Problem with errors [+REP] - by RedJohn - 31.08.2012, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)