Small Error Unreachable code
#4

It says unreachable code still here is what is before it
pawn Код:
{
    if (strcmp("/cmds", cmdtext, true, 10) == 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}/MINIGAMES-Do minigames.\n");
        strcat(dialog,"{FF0000}/COLORS-Change color of username on CHAT.");
        ShowPlayerDialog(playerid, DIAREGLAS, DIALOG_STYLE_MSGBOX, "Commands",dialog,"OK","CLOSE");
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Small Error Unreachable code - by Zach7 - 06.07.2012, 20:59
Re: Small Error Unreachable code - by Roko_foko - 06.07.2012, 21:03
Re: Small Error Unreachable code - by SA-MPDrifter - 06.07.2012, 21:04
Re: Small Error Unreachable code - by Zach7 - 06.07.2012, 21:09
Re: Small Error Unreachable code - by SA-MPDrifter - 06.07.2012, 21:15
Re: Small Error Unreachable code - by Zach7 - 06.07.2012, 21:16
Re: Small Error Unreachable code - by Roko_foko - 06.07.2012, 21:19
Re: Small Error Unreachable code - by SA-MPDrifter - 06.07.2012, 21:20
Re: Small Error Unreachable code - by Zach7 - 06.07.2012, 21:21
Re: Small Error Unreachable code - by Roko_foko - 06.07.2012, 21:21

Forum Jump:


Users browsing this thread: 1 Guest(s)