Jump to content

how to detect vehicle weapons


Wojak

Recommended Posts

let my try to explain once more:

I want to know a point in time and space when PlayerA that is in VehicleA (hunter, rustler or seasparrow) is hitting a VehicleB (not necessary occupied by any player) using vehicle weapons (hunter minigun, rustler gun and seasparrow gun).

i am able to detect weapons such ak-47 or uzi, i even find a way to detect projectile based weapons (hunter and hydra rockets or rihno canon), so there must be some way to detect the 3 last weapons i need...

any ideas?

Edited by Guest
Link to comment
how are you detecting which weapon hit vehicle?

onVehicleDamage has only loss argument..

I'm using onClientPlayerWeaponFire and onClientExplosion events. This id not giving me any informations about HP loss, but the informations i need: "Who used the weapon" and "witch vehicle was hit"

Wojak, as far as I know, you can't detect the hit of these vehicle weapons.

thats bad... now i will have to use the backup plan involving checking the control state and processing the line of sight- and that will not work perfect :(

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...