vovo4ka Posted April 18, 2010 Share Posted April 18, 2010 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 ] I'm looked in MTA source, it is not difficult to add this parameters in event I dont know how to compile this. And I'm not sure that this will works Thx! Link to comment
Gamesnert Posted April 18, 2010 Share Posted April 18, 2010 http://github.com/Gamesnert/multithefta ... 653b212e3d I've just made functions out of it, because you can simply use getProjectileTarget etc in the event itself, as well as outside of them. I couldn't exactly find out how to return the model parameter, but oh well, that's not that important, is it? Link to comment
vovo4ka Posted April 18, 2010 Author Share Posted April 18, 2010 Yes! thx. It would be great if these functions will be in 1.0.4 ----- 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
Recommended Posts