else if(listitem == 2) { if(PlayerInfo[playerid][pAdmin] < 1) { SendClientMessage(playerid, COLOR_GREY, "[AV] You are not authorized to use this option"); return 0x01; } if(PlayerInfo[playerid][pAppearList] == 1) { PlayerInfo[playerid][pAppearList] = 0; SendClientMessage(playerid, COLOR_GREY, "[AV] You have removed yourself from the Online Admin List!"); format(string, sizeof(string), "[AV] %s has removed himself from the Online Admin List.",sendername); ABroadCast(COLOR_LIGHTRED, string, 5); } else if(PlayerInfo[playerid][pAppearList] == 0) { PlayerInfo[playerid][pAppearList] = 1; SendClientMessage(playerid, COLOR_GREY, "[AV] You have added yourself from the Online Admin List!"); format(string, sizeof(string), "[AV] %s has added himself from the Online Admin List.",sendername); ABroadCast(COLOR_LIGHTRED, string, 5); } } |
C:\Users\Lucas\Desktop\Rodrigo\rev_2_anteslelete.p wn(2017) : error 017: undefined symbol "j_TD0" C:\Users\Lucas\Desktop\Rodrigo\rev_2_anteslelete.p wn(2017) : warning 215: expression has no effect C:\Users\Lucas\Desktop\Rodrigo\rev_2_anteslelete.p wn(2017) : error 001: expected token: ";", but found "]" C:\Users\Lucas\Desktop\Rodrigo\rev_2_anteslelete.p wn(2017) : error 029: invalid expression, assumed zero C:\Users\Lucas\Desktop\Rodrigo\rev_2_anteslelete.p wn(2017) : fatal error 107: too many error messages on one line |
if(PlayerInfo[playerid][pAppearList] == 1) |
else if(listitem == 2)
{
if(PlayerInfo[playerid][pAdmin] < 1)
{
SendClientMessage(playerid, COLOR_GREY, "[AV] You are not authorized to use this option");
return 0x01;
}
if(PlayerInfo[playerid][pAppearList] == 1)
{
PlayerInfo[playerid][pAppearList] = 0;
SendClientMessage(playerid, COLOR_GREY, "[AV] You have removed yourself from the Online Admin List!");
format(string, sizeof(string), "[AV] %s has removed himself from the Online Admin List.",sendername);
ABroadCast(COLOR_LIGHTRED, string, 5);
}
else if(PlayerInfo[playerid][pAppearList] == 0)
{
PlayerInfo[playerid][pAppearList] = 1;
SendClientMessage(playerid, COLOR_GREY, "[AV] You have added yourself from the Online Admin List!");
format(string, sizeof(string), "[AV] %s has added himself from the Online Admin List.",sendername);
ABroadCast(COLOR_LIGHTRED, string, 5);
}
}
C:\Users\Lucas\Desktop\Rodrigo\rev_2_anteslelete.p wn(2017) : error 017: undefined symbol "j_TD0"
C:\Users\Lucas\Desktop\Rodrigo\rev_2_anteslelete.p wn(2017) : warning 215: expression has no effect
C:\Users\Lucas\Desktop\Rodrigo\rev_2_anteslelete.p wn(2017) : error 001: expected token: ";", but found "]"
C:\Users\Lucas\Desktop\Rodrigo\rev_2_anteslelete.p wn(2017) : error 029: invalid expression, assumed zero
C:\Users\Lucas\Desktop\Rodrigo\rev_2_anteslelete.p wn(2017) : fatal error 107: too many error messages on one line
if(PlayerInfo[playerid][pAppearList] == 1)//error line
j_TD0 |