SA-MP Forums Archive
/HELP ON DIALOG - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /HELP ON DIALOG (/showthread.php?tid=632568)



/HELP ON DIALOG - MrTea - 16.04.2017

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", "");



Re: /HELP ON DIALOG - GangstaSunny. - 16.04.2017

PHP код:
ShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"HELP",string,"CLOSE"""); 
You are showing (string) and not (stringtwo).


Re: /HELP ON DIALOG - MrTea - 16.04.2017

thanks. Can lock the tipic.