View Single Post
henk3000
New Member
Join Date: Jul 2005
Old 07-26-2005 , 04:08  
Reply With Quote #8

Hi Sorry for pulling this up from oblivion

About the no-damage HE's..
I would like to make that so the damage of a grenade would come only from falling back to the ground and not from the explosion.. it's for a fun-oriented server

You said it should be easy.. Is this about where that one line of code should be?

Code:
    new damagerept = read_data(2)
    set_velocity_from_origin(id, upVector, get_cvar_float("he_push")*damagerept)
I'm learning the script code currently but i don't know how to change the actual damage done by the grenade in this plugin.

Thanks!
henk3000 is offline