Raised This Month: $ Target: $400
 0% 

entity_set_vector (setting user velocity)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ThantiK
Senior Member
Join Date: Mar 2004
Location: Orlando, FL
Old 10-05-2004 , 11:42   entity_set_vector (setting user velocity)
Reply With Quote #1

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
ThantiK is offline
Send a message via AIM to ThantiK Send a message via MSN to ThantiK
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode