08.08.2014, 06:15
@AzaMx: You are going to confuse him with SendClientError.
Use this;
Use this;
pawn Код:
COMMAND:vcmds(playerid,params[])
{
if(pInfo[playerid][VIP] > 1) // Change this to your settings
{
SendAdminText(playerid, "/credits", params);
new show[400];
format(show,sizeof(show),"{FFFFFF}/vfuel\n{FFFFFF}/vrepair\n{FFFFFF}/vfly\n{FFFFFF}/vsetskin");
ShowPlayerDialog(playerid, 110, DIALOG_STYLE_MSGBOX, "{FFFFFF}>>VIP Commands",show, "Close", "");
}
else return SendClientMessage(playerid, -1, "You are not authorized to use this command");
return 1;
}