Jump to content

[Help] Rocket launcher damage


Notorious^

Recommended Posts

Posted

ı just want change rocket damage.very rocket must take 10 health.i have simple code but not working.what is my mistake ? thanks for help.

 

function reduceP ( ) 
    setWeaponProperty ( 35, "poor", "damage", 10 ) 
end 
addEventHandler ( "onResourceStart", resourceRoot, reduceP ) 

 

Posted (edited)

Make sure you are applying it to all 3 weapon skill levels "pro", "std" and "poor"

Because if you have defaultstats running on your server, you probably have "pro" skill level set.

Edited by Mega9
Posted

I think its about over Explosion damage not the RPG, cause RPG rocket is a object not a bullet, and after hiting a object its making a explosion so you have probably need to change explosion damage. 

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