10.08.2012, 18:11
Hello, i have where if your civilian when you spawn you will get a class dialog it works but only problem is when u die and spawn again it doesnt show it again. I tried using varables to make it work but failed so can someone explain me how?
pawn Код:
if(gTeam[playerid] == CIVILIAN)
{
SetPlayerColor(playerid, COLOR_WHITE);
ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "Choose your class", "Drug Dealer\nPedo\nGun merchant\nRobber\nItems dealer\nRapist\nKidnapper", "ok", "cancel");
return 1;
}