[HELP] Fight Styles command
#8

so fix indentations

example code without correct indentation:

pawn Код:
if (strcmp("/f2", cmdtext, true, 11) == 0)
            {
          SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
                        SendClientMessage(playerid, 0x00FF00, "|- You have changed your fighting style to the Boxing fight style! -|");
                    return 1;
            }
and correct indentation:

pawn Код:
if (strcmp("/f2", cmdtext, true, 11) == 0)
{
    SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
    SendClientMessage(playerid, 0x00FF00, "|- You have changed your fighting style to the Boxing fight style! -|");
    return 1;
}

@karan007: that's worst advise.
Reply


Messages In This Thread
[HELP] Fight Styles command - by XYZero - 07.03.2015, 11:46
Respuesta: [HELP] Fight Styles command - by JuanStone - 07.03.2015, 11:56
Re: [HELP] Fight Styles command - by XYZero - 07.03.2015, 12:16
Re: [HELP] Fight Styles command - by ReD_HunTeR - 07.03.2015, 12:24
Re: [HELP] Fight Styles command - by Karan007 - 07.03.2015, 12:37
Re: [HELP] Fight Styles command - by XYZero - 07.03.2015, 13:07
Re: [HELP] Fight Styles command - by Karan007 - 07.03.2015, 13:09
Re: [HELP] Fight Styles command - by M4D - 07.03.2015, 13:10
Re: [HELP] Fight Styles command - by ReD_HunTeR - 07.03.2015, 13:11
Re: [HELP] Fight Styles command - by J0sh... - 11.09.2015, 12:33

Forum Jump:


Users browsing this thread: 1 Guest(s)