How to fix these errors ? :( - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to fix these errors ? :( (
/showthread.php?tid=521462)
How to fix these errors ? :( -
killing - 23.06.2014
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
Re: How to fix these errors ? :( -
RenovanZ - 23.06.2014
Show your code.
Re: How to fix these errors ? :( -
killing - 23.06.2014
Код:
//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;
}
Re: How to fix these errors ? :( -
RenovanZ - 23.06.2014
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;
}]