detecting player sprayed?
detect if play is dead and a spray is sprayed on him...
how do i do that? |
Umm.. this is how I would do it..
1) Make a global origin var. 2) Use client_impulse(id,impulse) . Store the origin in the origin var. 3) Store the player's origin in another global var when he dies. 4) Compare both origins. If origin1 is <= origin2 - do something. There's probably a better way that I don't know of. |
can i get the better way ? :D
|
Didn't say there was..
Also, that img in your sig is too damn big.. |
Quote:
okay v3x, thanks. i'll try and make-do with what you just said. |
Quote:
i figured out that impulse 201 is actually for the spray..(after about since playing cs from beta)..>.<. |
err v3x?
|
I'm at school atm. If I'm allowed on today, I'll help you.
|
Quote:
|
| All times are GMT -4. The time now is 16:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.