09.08.2013, 22:17
I have tried to fix the error,but I still get errors,I have posted my problem at GitHub.
Quote:
Secret Project Problem Link |
Secret Project Problem Link |
public OnPlayerRequestClass(playerid, classid)
{
if(gTeam[playerid] == 0) //line 460
{
SetPlayerTeamFromClass(playerid,0); //462
}
else if(gTeam[playerid] == 1)//line 464
{
SetPlayerTeamFromClass(playerid,1);
}//line 467
else//line 468
{
if(PickedClass[playerid] == 0)//line 470
{
ShowPlayerDialog(playerid, DIALOG_ID, DIALOG_STYLE_LIST, "Title", "listitem1\nlistitem2", "Select","Cancel");
}
}
}