C4 Origin & HE Granade Origen
Like the Title say... How I can get the Origen of a He When they Explote...
Thanks... |
Re: C4 Origin & HE Granade Origen
http://forums.alliedmods.net/showpos...80&postcount=8
Found this for He Grenade, I'm searching C4 Origin now. |
Re: C4 Origin & HE Granade Origen
PHP Code:
|
Re: C4 Origin & HE Granade Origen
Quote:
Code:
|
Re: C4 Origin & HE Granade Origen
To retrieve the C4 exploding location, you can just check where was the bomb site spawned.
Code:
|
Re: C4 Origin & HE Granade Origen
Thanks.... +K For All. The Way of v3x dont work.
|
Re: C4 Origin & HE Granade Origen
For C4, alternate way :
Code:
For He, depending your need, you can use that : Code:
Not really the exact grenade origin, more the explosion end position. |
Re: C4 Origin & HE Granade Origen
@arkshine:
The 5th parameter of the HE explosion is always 193 at the beginning of the explosion. And from where do you get those events ids? |
Re: C4 Origin & HE Granade Origen
The 5th arg is the sprite index. An explosion ( TE_EXPLOSION ) is composed of 2 messages. I just took one.
|
Re: C4 Origin & HE Granade Origen
But when I debugged that message("23") and it's args, it always printed: "read_data(5) = 193" at the beginning of the explosion.
|
| All times are GMT -4. The time now is 01:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.