PDA

View Full Version : /HELP ON DIALOG


MrTea
16/04/2017, 08:08 AM
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", "");

GangstaSunny.
16/04/2017, 10:23 AM
ShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"HELP",string,"CLOSE", "");

You are showing (string) and not (stringtwo).

MrTea
16/04/2017, 08:04 PM
thanks. Can lock the tipic.