29.07.2013, 04:34
help me fix this
Quote:
C:\Users\Admin\Downloads\Compressed\LSLRP 0.3e\gamemodes\lslrp.pwn(4600) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |
Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { new str[30]; format(str,sizeof(str),"~W~%s",VehicleNames[GetVehicleModel(vehicleid) - 400]); GameTextForPlayer(playerid, str, 1000, 1); if(gTeam[playerid] >= 3) { if (IsACopCar(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3) {} else { SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle"); } } if (IsALSFMD(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { } else { SetPlayerCriminal(playerid,255, "Stealing An Ambulance"); } } } return 1;