Jump to content

[REQ] Advanced projectile callback and func


vovo4ka

Recommended Posts

I need a more hard-cored functions(like getProjectileType) to work with projectiles:

getProjectileTarget

.. etc.

Also it would be great if onClientProjectileCreation event would have more parameters:

onClientProjectileCreation

Parameters like createProjectile

element creator, int weaponType [, float posX, float posY, float posZ, float force = 1.0, element target = nil, float rotX, float rotY, float rotZ, float velX, float velY, float velZ, int model ]

:oops:

I'm looked in MTA source, it is not difficult to add this parameters in event :oops: I dont know how to compile this. And I'm not sure that this will works :oops:

Thx!

Link to comment

Yes! thx. It would be great if these functions will be in 1.0.4 :oops::oops::oops::greenjumpers:

-----

model can be returned by getProjectileType.

Also is it possible to know 'force' parameter. Position and Velocity I think, I can get by getElementPos ans Velocity functions and Rotation.

I want to repeat projectile creation identically projectile created by player weapon.

Link to comment
  • Recently Browsing   0 members

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