07.10.2014, 18:13
i have made new classes for new team but
cods not working
when player change class he show CLASS_DIALOG2.
cods not working
when player change class he show CLASS_DIALOG2.
pawn Код:
if(Switchclass[playerid] == 1)
{
SendClientMessage(playerid, -1,"Please select your class");
FirstSpawn[playerid] = 0;
if(Team[playerid]==TEAM_AFGHANISTAN)
{
ShowPlayerDialog(playerid, CLASS_DIALOG2, DIALOG_STYLE_LIST,"Class Selection",""ccolor"Terrorist - "ccolor2"Rank 0\n"ccolor"Sucider - "ccolor2"Rank 1\n"ccolor"Bomber - "ccolor2"Rank 4\n"ccolor"Weapon master - "ccolor2"Rank 3","Select","");
}
else
{
ShowPlayerDialog(playerid, CLASS_DIALOG, DIALOG_STYLE_LIST,"Class Selection",""ccolor"Assault - "ccolor2"Rank 0\n"ccolor"Sniper - "ccolor2"Rank 1\n"ccolor"Pilot - "ccolor2"Rank 4\n"ccolor"Engineer - "ccolor2"Rank 3\n"ccolor"Support - "ccolor2"Rank 2\n"ccolor"Scout - "ccolor2"Rank 3\n"ccolor"Spy - "ccolor2"Rank 6\n"ccolor"Jet-Pilot - "ccolor2"Rank 5\n"ccolor"Donor - "ccolor2"For Donors only","Select","");
}
}