Get death position?
How can I get the position where a player died? (and use it to respawn the player above his corpse after some time)
:) |
Re: Get death position?
I think you can get_user_origin() on a death hook... it would surely work on a pre-Ham_Killed hook tough.
Still, for YOUR purpose, you could hook "ClCorpse" message, that message is sent after player finished his death animation and is entering spectator mode. The message informs all players where a corpse should appear... so you've got the coordinates. More info: http://wiki.amxmodx.org/Half-Life_1_...vents#ClCorpse |
| All times are GMT -4. The time now is 23:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.