Skip to main content

Vehicle::getCauseOfDestruction

iVar3 = get_vehicle_cause_of_destruction(uLocal_248[iVar2]);
if (iVar3 == joaat('weapon_stickybomb'))
{
func_171(726);
iLocal_260 = 1;
}

Syntax​

vehicle.getCauseOfDestruction();

Return value​

  • Model hash or name

Example​

// todo