Errors (1+ REPS)
#1

Код:
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(27844) : warning 202: number of arguments does not match definition
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(43995) : warning 213: tag mismatch
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44009) : warning 213: tag mismatch
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44251) : warning 202: number of arguments does not match definition
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44251) : warning 202: number of arguments does not match definition
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44258) : warning 202: number of arguments does not match definition
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44258) : warning 202: number of arguments does not match definition
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44259) : error 017: undefined symbol "RED"
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44259) : error 017: undefined symbol "GRAY_"
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44259) : warning 215: expression has no effect
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44259) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44259) : 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:aheal(playerid,params[])
{
	new target;
    if(!IsPlayerAdmin(playerid,3)) return SendClientMessage(playerid, 5);
    if(sscanf(params,"u",target)) return SendClientMessage(playerid,RED,"USAGE: /aheal "GRAY_"<playerid>");
	if(!IsPlayerConnected(target))  return SendClientMessage(playerid, RED, " "RED2_"{FF0000}»Warning«{FF1919}"RED_" This player is not connected");

	SetPlayerHealth(target,100);
	new str[128];
    format(str,sizeof(str)," {004131}»Admininfo«{00FF99} You have healed %s(%d)",pName[target],target);
    SendClientMessage(playerid,AdminInfo,str);
    format(str,sizeof(str)," {004131}»Admininfo«{00FF99} You have been healed by admin %s",pName[playerid]);
    SendClientMessage(target,AdminInfo,str);
    return 1;
}
CMD:aarmour(playerid,params[])
{
	new target;
    if(!IsPlayerAdmin(playerid,4)) return SendClientMessage(playerid, 5);
    if(sscanf(params,"u",target)) return SendClientMessage(playerid,RED,"USAGE: /aarmour "GRAY_"<playerid>");
	if(!IsPlayerConnected(target))  return SendClientMessage(playerid, RED, " "RED2_"{FF0000}»Warning«{FF1919}"RED_" This player is not connected");

	SetPlayerArmour(target,100);
	new str[128];
    format(str,sizeof(str)," {004131}»Admininfo«{00FF99} You have given an armour to %s(%d)",pName[target],target);
    SendClientMessage(playerid,AdminInfo,str);
    format(str,sizeof(str)," {004131}»Admininfo«{00FF99} You have been given an armour by admin %s",pName[playerid]);
    SendClientMessage(target,AdminInfo,str);
    return 1;
}
Reply


Messages In This Thread
Errors (1+ REPS) - by VanSiera - 25.04.2014, 21:16
Re: Errors (1+ REPS) - by VanSiera - 25.04.2014, 21:49
Re: Errors (1+ REPS) - by Eth - 25.04.2014, 22:02
Re: Errors (1+ REPS) - by UfsDev - 25.04.2014, 23:46
Re : Errors (1+ REPS) - by S4t3K - 25.04.2014, 23:52
Re: Errors (1+ REPS) - by UfsDev - 25.04.2014, 23:58
Re: Errors (1+ REPS) - by VanSiera - 26.04.2014, 08:34
Re: Errors (1+ REPS) - by BroZeus - 26.04.2014, 08:43

Forum Jump:


Users browsing this thread: 2 Guest(s)