ES/onClientVehicleExplode

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Este evento es provocado cuando un vehículo explota.

Parametros

Este evento no tiene parámetros.

Origen

La variable source de este evento corresponde al vehículo que explotó.

Ejemplo

Este ejemplo enviará un texto hacia el chat cuando un vehículo explote

addEventHandler("onClientVehicleExplode", getRootElement(), function()
  local modelname = getVehicleName(source)
  outputChatBox("¡"..modelname.." ha explotado!")
end)

Vea también

Eventos cliente de vehículos

Funciones cliente de eventoss