View Issue Details

IDProjectCategoryView StatusLast Update
0009903New Feature Requests[All Projects] Generalpublic2018-07-10 20:09
ReporterPirulaxAssigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0009903: on(Client)VehicleFire event.
Description

It should have the same arguments as on(Client)WeaponFire

TagsNo tags attached.

Activities

FileEX

2018-07-10 13:50

reporter   ~~0026681

You can do it with lua.

e.g
addEventHandler("onClientWeaponFire",root,function(he,px,py,pz,nx,ny,nz,mt,l,ph)
if isPedDoingGangDriveby(localPlayer) then
triggerEvent("onClientVehicleFire",localPlayer,he,px,py,pz,nx,ny,nz,mt,l,ph)
end
end)

Pirulax

2018-07-10 20:09

viewer   ~~0026683

Everything can be done in Lua actually(nearly).
But its not that big deal to do it in MTA either.

Issue History

Date Modified Username Field Change