Jump to content

Projectile Speed


-Doc-

Recommended Posts

addEventHandler ( "onClientProjectileCreation", root, 
    function () 
        local speedX, speedY, speedZ = getElementVelocity ( source ); 
         
        setElementVelocity ( source, speedX * 2, speedY * 2, speedZ * 2 ); 
    end 
); 

This should increase the speed by 2.

Link to comment
You won't learn anything with a ready full codes everytime

try to write codes by yourself and we'll help if you face any problems

This is actually true, and with a bit of resource you would've been able to write it yourself too. Since we've never met before, take this as the first and only script you'll get from me without trying it first. :wink:

Link to comment

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