warning 217: loose indentation?
#7

EDIT: SOLVED Thanks [HiC]TheKiller
Quote:
Originally Posted by Kush
Посмотреть сообщение
Remember, regardless if your using tabsize 0 to solve your 'indentation' problem, doesn't mean that you can place anything where ever. Remember to indent properly, it makes your script neat and easier to go through stuff.
Yes I Know I Have Fixed It...

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/vr", true) == 1) {
        if(IsPlayerVipMember(playerid)) return SendClientMessage(playerid,red,"Only Vip's Can Repair Their Vehicles.");
        {
            if(IsPlayerInAnyVehicle(playerid)) {
                new vehicleid = GetPlayerVehicleID(playerid);
                SetVehicleHealth(vehicleid,1000.0);
                SendClientMessage(playerid,Green1, "Vehicle fixed.");
            }
            else {
                SendClientMessage(playerid,red, "You are not in a vehicle!");
            }

        }
    }
    return 1;
}
EDIT: SOLVED Thanks [HiC]TheKiller
Reply


Messages In This Thread
warning 217: loose indentation? - by mastalol - 17.07.2011, 00:33
Re: warning 217: loose indentation? - by SmileyForCheat - 17.07.2011, 00:35
Re: warning 217: loose indentation? - by [HiC]TheKiller - 17.07.2011, 00:38
Re: warning 217: loose indentation? - by mastalol - 17.07.2011, 00:40
Re: warning 217: loose indentation? - by [HiC]TheKiller - 17.07.2011, 00:42
Re: warning 217: loose indentation? - by Kush - 17.07.2011, 02:03
Re: warning 217: loose indentation? - by mastalol - 17.07.2011, 02:48

Forum Jump:


Users browsing this thread: 1 Guest(s)