SA-MP Forums Archive
Dialog problem - 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: Dialog problem (/showthread.php?tid=360238)



Dialog problem - Zach7 - 17.07.2012

pawn Код:
if (strcmp("/cmds", cmdtext, true ) == 0)
    {
        new dialog[500];
        strcat(dialog,"{FF0000} /v-Spawn a vehicle of your choice.\n");
        strcat(dialog,"{FF0000} /w-List of Weapons.\n");
        strcat(dialog,"{FF0000} /pm [ID][TEXT]- to PM a player.\n");
        strcat(dialog,"{FF0000} /change-hide the blue bar at bottom of screen.\n{");
        strcat(dialog,"{FF0000} /FLY [0-1]- 0(off) 1(on).\n");
        strcat(dialog,"{FF0000} /infernus-Spawn an infernus.\n");
        strcat(dialog,"{FF0000} /PCJ- Spawn a PCJ-600.\n");
        strcat(dialog,"{FF0000} /CHANGENAME- Change name in server without having to leave.\n");
        strcat(dialog,"{FF0000} /TIME-Switch to Day or night.\n");
        strcat(dialog,"{FF0000} /PJY-Attach objects to your player.\n");
        strcat(dialog,"{FF0000} /ACTIONS- list of animations.\n");
        strcat(dialog,"{FF0000} /MUSIC-Listen to music.\n");
        strcat(dialog,"{FF0000} /TUNE-tune your vehicle.");
        ShowPlayerDialog(playerid, DIACMDS+2, DIALOG_STYLE_MSGBOX,"Commands",dialog,"OK","CLOSE");
        return 1;
    }
no errors but the /tune line wont show? HELP


Re: Dialog problem - ViniBorn - 17.07.2012

Increases the size of 'dialog'