How to fix these errors ? :(
#1

D:\TDm 2.0\WHOLE FOLDER OF NVCNR\gamemodes\NVCNR.pwn(4989) : warning 217: loose indentation
D:\TDm 2.0\WHOLE FOLDER OF NVCNR\gamemodes\NVCNR.pwn(4989) : error 017: undefined symbol "gTeam"
D:\TDm 2.0\WHOLE FOLDER OF NVCNR\gamemodes\NVCNR.pwn(4989) : warning 215: expression has no effect
D:\TDm 2.0\WHOLE FOLDER OF NVCNR\gamemodes\NVCNR.pwn(4989) : error 001: expected token: ";", but found "]"
D:\TDm 2.0\WHOLE FOLDER OF NVCNR\gamemodes\NVCNR.pwn(4989) : error 029: invalid expression, assumed zero
D:\TDm 2.0\WHOLE FOLDER OF NVCNR\gamemodes\NVCNR.pwn(4989) : fatal error 107: too many error messages on one line
Reply
#2

Show your code.
Reply
#3

Код:
	//Hitman Commands//
	dcmd(hitlist,7,cmdtext);
	
		if(gTeam[playerid] == TEAM_HITMAN)
    {
		ShowPlayerDialog(playerid,DIALOG_COMMANDS,DIALOG_STYLE_MSGBOX,"{0000FF}HITMAN COMMANDS","{FFFFFF}/hitlist - Shows the list of hits.\nYou can also see a list of General Commands with /gcommands.","Ok","Cancel");
		format(string,sizeof(string),"4[ADMIN SPY] %s(%d) has typed /commands.",PlayerName(playerid),playerid);
		IRC_GroupSay(gGroupAdminID,IRC_ADMINCHANNEL,string);
		format(string,sizeof(string),"[ADMIN SPY] %s(%d) has typed /commands.",PlayerName(playerid),playerid);
		SendClientMessageToAllAdmins(string);
	}
	return 1;
}
Reply
#4

pawn Код:
dcmd(hitlist,7,cmdtext);
{  
    if(gTeam[playerid] == TEAM_HITMAN)
    {
        ShowPlayerDialog(playerid,DIALOG_COMMANDS,DIALOG_STYLE_MSGBOX,"{0000FF}HITMAN COMMANDS","{FFFFFF}/hitlist - Shows the list of hits.\nYou can also see a list of General Commands with /gcommands.","Ok","Cancel");
        format(string,sizeof(string),"4[ADMIN SPY] %s(%d) has typed /commands.",PlayerName(playerid),playerid);
        IRC_GroupSay(gGroupAdminID,IRC_ADMINCHANNEL,string);
        format(string,sizeof(string),"[ADMIN SPY] %s(%d) has typed /commands.",PlayerName(playerid),playerid);
        SendClientMessageToAllAdmins(string);
    }
    return 1;
}]
Reply


Forum Jump:


Users browsing this thread: