Sign in to follow this  
Notorious^

[Help] Rocket launcher damage

Recommended Posts

ı 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 ) 

 

Share this post


Link to post

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

Share this post


Link to post

Mega9 thanks for help.ı changed 'poor' to 'pro' but still not working :C ı added serverside but ı dont understand why its not working :/

Share this post


Link to post

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. 

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.