#4

Try this:

pawn Код:
if(strcmp(cmd, "/jump", true) == 0) {
        switch(jump[playerid]) {
            case 0: {
                SendClientMessage(playerid, yellow, "High Jump has been turned on!");
                jump[playerid] = 1;
            }
            case 1: {
                SendClientMessage(playerid, yellow, "High Jump has been turned off!");
                jump[playerid] = 0;
            }
        }
        return 1;
    }
Reply


Messages In This Thread
:D - by Libra_PL - 09.01.2011, 10:59
Re: :D - by GiS - 09.01.2011, 11:00
Re: :D - by Libra_PL - 09.01.2011, 11:05
Re: :D - by __ - 09.01.2011, 11:05

Forum Jump:


Users browsing this thread: 1 Guest(s)