16.04.2017, 08:08
Hello, i tryed to make command /help on dialog , but when i write /help nothing appear.
Код:
if(strcmp(cmd, "/help", true) == 0) { if(IsPlayerConnected(playerid)) { new stringtwo[1024]; strcat(stringtwo,"/stats /buylevel /changepass /leaders /factions\n /medics /reporters /unrentroom /comanda\n",sizeof(stringtwo)); strcat(stringtwo,"/pay /charity /time /mutetime /buy /unrentcar /givekey\n /switchkey /comanda /showlicenses /licenses /buletin\n",sizeof(stringtwo)); strcat(stringtwo,"/lock /skill /lotto /spawnchange /stopanim /mydrinks /clothes\n /id /refresh /number /givenumber /contract /quitjob\n /eject /animlist /animlist2 /ochelari /removegps /os /togphone\n",sizeof(stringtwo)); strcat(stringtwo,"/report /cancel /accept /eject /usedrugs /fill /get fuel\n /fillcar /service /laseron /laseroff /culoarelaser\n /gps /centura /jobs /fillcar /turfs /surrender /iesirepb /sleep /afklist\n",sizeof(stringtwo)); strcat(stringtwo,"/togwhisper /tognews /togfam /togsfaturi (/n)newbie (/w)hisper (/o)oc\n (/s)hout (/c)lose (/l)ocal (/b) (/ad)vertise (/f)amily /me /do\n",sizeof(stringtwo)); strcat(stringtwo,"/balance /withdraw /deposit /transfer /imprumut /achitaimprumut /buygun\n",sizeof(stringtwo)); ShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"HELP",string,"CLOSE", "");