Here's /help command which isn't working.
I will check if it isn't using dcmd too. btw. sorry for my bad english.
Код:
COMMAND:help(playerid,params[])
{
new string[1580];
format(string,sizeof(string),"{13DDD3}:: KONTS :: {FFFFFF}/stats /levelup /upgrade /frisk /putgun /takegun");
strcat(string,"\n{17E867}:: GALVENAIS :: {FFFFFF}/bail /pay /charity /time /buy /unrentcar /id /drink /usecar /stopusecar");
strcat(string,"\n{17E867}:: GALVENAIS :: {FFFFFF}/buygun /lock /skill /licenses /showlicenses(/sl) /report /stopanim /fuel");
strcat(string,"\n{17E867}:: GALVENAIS :: {FFFFFF}(/re)port /cancel /accept /eject /usedrugs /fill /admins /fillup");
strcat(string,"\n{17E867}:: GALVENAIS :: {FFFFFF}(/wi)ndows /trunk (/inv)entory /knock /give /sid /lightup /dropgun /pickupgun");
strcat(string,"\n{17E867}:: GALVENAIS :: {FFFFFF} /boxstats /fight /dropmats /dropdrugs /pickupmats /pickupdrugs");
strcat(string,"\n{17E867}:: ČATS :: {FFFFFF}/setfreq (/p)m (/o)oc (/s)hout /low /b /f /me /do /togooc /tognews /togfam /togphone");
strcat(string,"\n{17E867}:: BANKA :: {FFFFFF}/balance /withdraw /deposit /transfer");
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
{
strcat(string,"\n{E4E108}:: LSPD :: {FFFFFF}(/r)adio (/m)egaphone (/su)spect /mdc /arrest /duty /wanted (/cu)ff (/ta)zer /backup(/bk)");
strcat(string,"\n{E4E108}:: LSPD :: {FFFFFF}/take /ticket /deliver /dragincar /untie");
strcat(string,"\n{E4E108}:: LSPD :: {FFFFFF}/ResetBackup(/bkc) /showbadge /tracelastcall(/tlc)");
strcat(string,"\n{E4E108}:: LSPD :: {FFFFFF}/checkalko /dooropen /takecar /createstrip /ras");
}
else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) {
strcat(string,"\n{E4E108}:: MEDIĶIS :: {FFFFFF}(/r)adio /heal /duty /tracelastcall(/tlc) /showmed /ticket /dragincar"); }
else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/live /news [text]"); }
else if(PlayerInfo[playerid][pJob] == 3) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/sex"); }
else if(PlayerInfo[playerid][pJob] == 7) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/repair /refill /duty"); }
else if(PlayerInfo[playerid][pJob] == 8) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/guard (Prezidenta miesassargs: /duty)"); }
else if(PlayerInfo[playerid][pJob] == 24) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/duty"); }
else if(PlayerInfo[playerid][pJob] == 16) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/buyprods /sellprods /prodcheck"); }
else if(PlayerInfo[playerid][pJob] == 17) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/duty"); }
else if(PlayerInfo[playerid][pJob] == 19) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/duty"); }
else if(PlayerInfo[playerid][pJob] == 20) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/buydrugs /selldrugsto"); }
else if(PlayerInfo[playerid][pJob] == 21) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/startsweep /stopsweep"); }
else if(PlayerInfo[playerid][pJob] == 22) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/smugglemats"); }
else if(PlayerInfo[playerid][pJob] == 23) {
strcat(string,"\n{E4E108}:: DARBS :: {FFFFFF}/creategun {FF0033}Materiālus iegūsti no vadātājiem."); }
if(PlayerInfo[playerid][pAdmin] >= 1)
{
strcat(string,"\n{13DDD3}:: ADMINS :: {FFFFFF}(/a)dmin (/ah)elp");
}
strcat(string,"\n{B488D4}:: CITS :: {FFFFFF}/phonehelp /househelp /vehiclehelp /renthelp /businesshelp /leaderhelp");
strcat(string,"\n{B488D4}:: CITS :: {FFFFFF}/animlist");
ShowPlayerDialog(playerid,DIALOG_UNUSED,DIALOG_STYLE_MSGBOX,"{FF0011}Funkciju saraksts",string,"Aizvērt","");
return 1;
}