(772) : warning 217: loose indentation
#1

{
DestroyVehicle(Veh[playerid][VehId]);
(772) new Float:a;
GetPlayerFacingAngle(playerid, a);
GetPlayerPos(playerid, x, y, z);

if(IsPlayerInAnyVehicle(playerid) == 1)
{
GetXYInFrontOfPlayer(playerid, x, y, 8);
}
else
{
GetXYInFrontOfPlayer(playerid, x, y, 5);
}

new PlayersVehicle = CreateVehicle(vehicle, x, y, z, a+90, -1, -1, -1);
Veh[playerid][VehId] = PlayersVehicle;
LinkVehicleToInterior(PlayersVehicle, GetPlayerInterior(playerid));
}
format(String, sizeof(String), "Ai spawnat %s", aVehicleNames[vehicle - 400]);
SendClientMessage(playerid,portocaliu, String);
return 1;
}
return 0;
}
Reply


Messages In This Thread
(772) : warning 217: loose indentation - by ShaggyShaggy - 11.04.2019, 13:39
Re: (772) : warning 217: loose indentation - by jasperschellekens - 11.04.2019, 14:23

Forum Jump:


Users browsing this thread: 2 Guest(s)