22.01.2012, 01:02
Try this, if it doesn't work show us your enum.
I do this with admin stuff on my server, so it should work.
pawn Код:
{
if(rank[playerid] < 1) return SendClientMessage(playerid, -1, "You are not a rank 1."
ShowPlayerDialog(playerid, DIALOG_SNIPER, DIALOG_STYLE_MSGBOX, "Class Information", "Information...", "Choose", "Back");
}