01.02.2014, 19:48
pawn Код:
CMD:interiors(playerid,params[])
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
new string[50];
format(string,sizeof(string),"Your interior is %d.",GetPlayerInterior(playerid))
ShowPlayerDialog(playerid,YOUR_DIALOG_ID,DIALOG_STYLE,MSGBOX,string,"BUTTON1","BUTTON2");
}
else { SendClientMessage(playerid,COLOR_GRAD1,"No authorization."); }
}