Jump to content
  • 0

Problema comanda /help


Question

Posted

Deci am adaugat in gm urmatoarele linii pentru comanda help.

new help[ ] = "• Account help\n\n/stats /buylevel /upgrade /resetupgrades /(c)hange(s)pawn(c)ivil /leaders /helpers /admins\n",
    help2[ ] = "/pay /charity /time /buy /get /id /drink /showlicenses /robbing /ticketlist /animlist /nr /esarfa\n",
    help3[ ] = "/buygun /skill /licenses /lotto /surrender /contract /factionlist /jobs /rules/glasses /swithkey /neon\n",
    help4[ ] = "/report /needhelp /accept /cancel /eject /usedrugs /usepills /fill /fillcar /service /fightstyle /info\n/balance, /withdraw/deposit, /wiretransfer,/credit /paycredit /infocredit /animlist\n\n• Job Help\n\n",
    help5[ ] = "> Detective - /find\n> Lawyer - /free\n> Whore - /sex\n> Drugs dealer - /selldrugs /getdrugs /usedrugs\n> Car Jacker - /dropcar\n> News reporter - /paper, /papers, /live, /news\n> Mechanic - /repair /refill /duty\n> Bodyguard - /guard\n> Arms dealer - /materials, /sellgun\n",
    help6[ ] = "> Boxer - /fight /boxstats\n> Bus driver - /fare\n> Paper boy - /papers /bring /deliver/n> Trucker - /load /buyprods /sellprods\n> Car Dealer - /sellcar\n\n• More help\n\n/sapdhelp - Only for Police LSPD, FBI, National Guards\n/ah - Only for SA:MP Admins\n/cellphonehelp - Cell commands\n/househelp - House commands\n/businesshelp - Bizz commands\n";
Comanda /help
        if(strcmp(cmd, "/help", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
            new DialogString[1024];
            format(DialogString, sizeof DialogString, "%s%s%s%s%s", help, help2, help3, help4, help5 , help6);
	    ShowPlayerDialog(playerid, 73, DIALOG_STYLE_MSGBOX, "Help", DialogString, "Agree", "Exit");
	    }
		return 1;
	}

Poza: http://imageshack.us/photo/my-images/687/samp000lej.png/

Dar nu imi apare toate joburile in /help dar le am in lista plss cum fac sa apare toate + comenziile?

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

3 answers to this question

Recommended Posts

Posted

Tot asa imi arata.

de ce nu faceai mai simplu cu strcat ?  :))

new dString [ 2048 ];
strcat( dString, "blablabla \n\
                          blablablabl \n\
                          blablablablab \n\
strcat( dString, "blablabla \n\
                          blablablabl \n\
                          blablablablab \n\
ShowPlayerDialog( playerid, 1, DIALOG_STYLE_MSGBOX, "Help", dString, "Ok","Exit");

communitylogosml.png

94.23.120.101:7778

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.