Jump to content

onVehicleFire


.:HyPeX:.

Recommended Posts

Hello, is there any event wich is cancellable as the title suggests? Becouse i'm using onClientProjectileCreation combined with onClientKey, but onClientKey would just work for one key and binding another one ruins it, and teleporting the missile away causes a nasty effect for the client if using only the first event (Rockets dissapear and it isnt cool).

Link to comment
  • Moderators

Use both.

But I do not understand how you get this problem in the first place. That bindKey scenario is very unclear because it is incomplete for me as reader.

In my damage over write script I am working around it, by calculating the damage of explosions serverside. And sync the effects with triggerLatentClientEvent > client createExplosion(damaging = false).

Link to comment
Use both.

But I do not understand how you get this problem in the first place. That bindKey scenario is very unclear because it is incomplete for me as reader.

In my damage over write script I am working around it, by calculating the damage of explosions serverside. And sync the effects with triggerLatentClientEvent > client createExplosion(damaging = false).

I'm wanting to stop players from spraying with the vehicle (hunter) missiles all arround and only shooting 3 in 5 seconds, i found out the best option was toggleControl in the end.

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...