Xwad Posted March 24, 2015 Share Posted March 24, 2015 Hi pls help how can i disable heatseeking on heatseeker rocker launcher? Link to comment
Enargy, Posted March 24, 2015 Share Posted March 24, 2015 Hi pls help how can i disable heatseeking on heatseeker rocker launcher? In what sense. not being able to shoot it ? Link to comment
Xwad Posted March 24, 2015 Author Share Posted March 24, 2015 no im mean the Heatseek-missle. I mean when i target a vehicle with heatseeking rocket (id 36) then there will be a green point and after a few second it will switch to red color and if i shoot the vehicle then the projectile,rocket will folow the vehicle. And i want to disable that Link to comment
Enargy, Posted March 24, 2015 Share Posted March 24, 2015 no im mean the Heatseek-missle. I mean when i target a vehicle with heatseeking rocket (id 36) then there will be a green point and after a few second it will switch to red color and if i shoot the vehicle then the projectile,rocket will folow the vehicle. And i want to disable that that can not fire the weapon until the target is pointed right ? Link to comment
Xwad Posted March 24, 2015 Author Share Posted March 24, 2015 no. I mean disable the heatseek. i mean disable that the rocket cant follow the weapon. Making the heatseeking rocket like an rpg. Disable the heatseek that the rocket only can shoot. Link to comment
Enargy, Posted March 24, 2015 Share Posted March 24, 2015 No as fair i know, but you can create a style rocket launcher as you say: use bindKey -- fire weapon createProjectile -- the missile getPlayerWeapon -- get if player is holding heatseek(id 36) in his hand. getElementPosition -- initial position where projectile is created Link to comment
Addlibs Posted March 24, 2015 Share Posted March 24, 2015 (edited) Edit: Just realised this is about the rocket launcher, not the Hydra rockets. Edited March 28, 2015 by Guest Link to comment
Xwad Posted March 27, 2015 Author Share Posted March 27, 2015 But I just want to disable the crateprjectile following. I mean that I want to disable that if I shoot a car then the projectile will not follow the vehicle. Link to comment
maky55 Posted March 27, 2015 Share Posted March 27, 2015 Why don't you just use the normal RPG, and stop people from using the heat seeker? Link to comment
toxicsmoke11 Posted March 27, 2015 Share Posted March 27, 2015 -- this would stop projectile from being created if it wants to target someone function disableHeatSeek() if getProjectileTarget(source) then cancelEvent() end end addEventHandler("onClientProjectileCreation",root,disableHeatSeek) Link to comment
Xwad Posted March 27, 2015 Author Share Posted March 27, 2015 becaouse there are 2 teams and the 2 rocket have 2 different skins and team 1 uses weapon 35 and team 2 weapon 16 Link to comment
Xwad Posted March 28, 2015 Author Share Posted March 28, 2015 toxicsmoke11 the code is not working:( Link to comment
Xwad Posted March 28, 2015 Author Share Posted March 28, 2015 please help i need this script to finish my server!! Link to comment
Ryancit2 Posted March 29, 2015 Share Posted March 29, 2015 I don't think that's possible by one pre-made function, though you can make a function manually, then disable heatseek rpg fire inside it and create a manual explosion via createProjectile right on the aimed target. Link to comment
TAPL Posted March 29, 2015 Share Posted March 29, 2015 Two topic for the same thing? https://forum.multitheftauto.com/viewtopic.php?f=91&t=86445 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now