Maybe it will sound stupid
#1

I got 1 warning, but i cant fix help me, please [Maybe i just dont see]

pawn Код:
C:\Program Files\Files2\SA-MP Servers\Cops And Robbers [ORGINAL SERVER]\gamemodes\LVCNR.pwn(5330) : warning 217: loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warnings.
Here is 5330 Line

pawn Код:
public OnPlayerUpdate(playerid)
{
        if(IsPlayerNPC(playerid)) return 1;
        if(HasSpawned{playerid} == true && GetPlayerState(playerid) != PLAYER_STATE_NONE)
        {
        new string[150];
        if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
            new veh = GetPlayerVehicleID(playerid);

            new Float:speed_x, Float:speed_y, Float:speed_z;
            GetVehicleVelocity(veh, speed_x,speed_y, speed_z);


            format(string, sizeof(string), "");
            TextDrawSetString(LVCNRInfo[playerid], string);
        }
        else
        {
            new current_zone;
            current_zone = Player_Zone[playerid];
            format(string, sizeof(string), "%s", ZoneNames[current_zone][zone_name]);
            TextDrawSetString(LVCNRInfo[playerid], string);
            }
        }
    return 1;
}
pawn Код:
return 1; //this is that line
Reply


Messages In This Thread
Maybe it will sound stupid - by BodyBoardVEVO - 20.01.2013, 08:59
Re: Maybe it will sound stupid - by Goldino - 20.01.2013, 09:04
Re: Maybe it will sound stupid - by BodyBoardVEVO - 20.01.2013, 09:09
Re: Maybe it will sound stupid - by Goldino - 20.01.2013, 09:11
Re: Maybe it will sound stupid - by Patrick - 20.01.2013, 09:16

Forum Jump:


Users browsing this thread: 1 Guest(s)