05.05.2015, 22:58
Hello folks, first I have to say I'm a beginner in scripting and if this is a simple issue, don't criticize me
This command only shows a dialog screen like this Any ideas?
PHP код:
if(strcmp(cmd, "/ahelp", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] < 1)
{
SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command.");
return 1;
}
new aatext[952];
strcat(aatext, "/reports /spec /suspectlist /endspec /respawnthiscar(/rtc) \n");
strcat(aatext, "/carreset /respawnrentvehs /trace /registered /checkweapons \n");
strcat(aatext, "/aduty /givetime /acceptreport /trashreport /afk /moves /showrules \n");
strcat(aatext, "/agivepassport /apm /setint /setvw /richlist \n");
strcat(aatext, "/removepending /pending /warn /unwarn /teles /announces");
ShowPlayerDialog(playerid, 70, DIALOG_STYLE_MSGBOX, "Administrative Assistant Commands", string, "OK", "Level 2");
return 1;
}
return 1;
}