I'm trying to set a users velocity with this, but its not working...I'm using id passed in the damage event like so:
Code:
register_event("Damage", "hedamage_event", "b", "2!0", "4!0", "5!0", "6!0")
Code:
public damage_event(id) {
Code:
new vector[3]
vector[0] = 0
vector[1] = 0
vector[2] = 0
entity_set_vector(id, EV_VEC_velocity, vector);
Why wouldn't that work? -- pass the ID of the player to the entity set vector function, and I'm getting a tag mismatch...?
__________________
AMXX -- You want control? You got it.
tkwired.com cs 1.6 -- tkwired.com:27016