07.07.2011, 19:28
pawn Код:
new VeiculoArrumado[MAX_VEHICLES];
if(!strcmp(cmd, "/godcar", true)) {
if(!IsPlayerInAnyVehicle(playerid)) return 1;
VeiculoArrumado[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
if(VeiculoArrumado[vehicleid] == 1) SetVehicleHealth(vehicleid, 90000);
return true;
}