problem with OnPlayerRequestClass
#1

this code should suppose to work but it didn't worked

pawn Код:
new Map1[MAX_PLAYERS];
new Map2[MAX_PLAYERS];

public OnPlayerRequestClass(playerid, classid)
{
    if(Map1[playerid] == 1)
    {
        ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Teams", "Assualters\nDefenders", "Select","");
    }
    else if(Map2[playerid] == 1)
    {
        ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Teams", "Assualters\nDefenders", "Select","");
    }
    return 1;
}
it don't even give me any compile error
Reply


Messages In This Thread
problem with OnPlayerRequestClass - by verlaj - 30.04.2013, 11:53
Re: problem with OnPlayerRequestClass - by Pottus - 30.04.2013, 11:54
Re: problem with OnPlayerRequestClass - by RVRP - 30.04.2013, 11:55
Re: problem with OnPlayerRequestClass - by verlaj - 30.04.2013, 11:58
Re : problem with OnPlayerRequestClass - by lelemaster - 30.04.2013, 12:02
Re: problem with OnPlayerRequestClass - by Pottus - 30.04.2013, 12:07
Re: problem with OnPlayerRequestClass - by verlaj - 30.04.2013, 15:32

Forum Jump:


Users browsing this thread: 3 Guest(s)