13.08.2010, 20:11
Hey Guys!
I have a warning in my script:
Here is the the function:
I cannot see the problem with it, no indentation loose, and when I make the line 69 to comment, the compiler still writes this warning..
I have a warning in my script:
Код:
(69) : warning 217: loose indentation
pawn Код:
case 17:
{
new
vehiclemodel = random(212)+400,
Float:pPos[4],
vId;
while(!IsValidVehicleID(vehiclemodel)) vehiclemodel = random(212)+400;//Line 69
if(IsPlayerInAnyVehicle(playerid)) DestroyVehicle(GetPlayerVehicleID(playerid));
GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]);
GetPlayerFacingAngle(playerid, pPos[3]);
vId = CreateVehicle(vehiclemodel, pPos[0], pPos[1], pPos[2], pPos[3], random(127), random(127), 60*1000);
PutPlayerInVehicle(playerid, vId, 0);
}