04.03.2013, 23:33
Interessante, mas qual o sentido disso ?
pawn Code:
public iCallbackBlindagem(vehicleid, playerid)
{
for(new Carrrow = 1; Carrrow <= VEICULOS_TOTAL; Carrrow++)
{
if(iBlindagemSmirnoff[Carrrow] > 0)
{
new Float:health;
GetVehicleHealth(Carrrow, health);
if(health < 999)
{
iBlindagemSmirnoff[Carrrow] -= 5;
RepairVehicle(Carrrow);
return 0;
}
}
}
return 1;
}