helpe me
#1

Quote:

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);
}

}

this is the code of the game mode that is giving error compilhar!


Quote:

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


error that appears when compiling;;

Who can help with this error, thank you. I am unable to solve even
Reply
#2

what's line 2017?!
Reply
#3

Quote:

if(PlayerInfo[playerid][pAppearList] == 1)

this is the line in 2017, helpe-me
Reply
#4

pawn Код:
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);
}

}
pawn Код:
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
pawn Код:
if(PlayerInfo[playerid][pAppearList] == 1)//error line
I think if you ctrl + f on your script and find
Quote:

j_TD0

you'll probably see the problem there, if you can find the line that contains that post it up so I can see what it's about so we can define it correctly. It's either that or you have accidentally got a typo in the line that contains it.
Reply
#5

maybe cause of your pInfo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)