25.12.2013, 23:32
Remove
from the Register dialog and put it under OnPlayerRequestClass. Conclusion:
pawn Code:
ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "Choose class","MILITARY\nCIVIL", "Choose", "");
pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "Choose class","MILITARY\nCIVIL", "Choose", "");
return 1;
}