20.01.2012, 15:11
use the code in the OnPlayerSpawn in the OnPlayerRequestClass callback
I mean remove this:
and put it in this callback:
I mean remove this:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "Choose your Class", "Class 1\nClass 2\nClass 3", "Choose", "");
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
//your stuff here
}