20.12.2010, 20:22
Fully:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/status", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new string[128];
format(string,sizeof(string),"Your ID: %d",playerid);
ShowPlayerDialog(playerid, DIALOGID_GOES_HERE, DIALOG_STYLE_MSGBOX, "Info", string, "Done", "Cancel", playerid);
return 1;
}
}
return 0;
}