TS - DeathMSG - No Weapon Returned?
Today I was coding something for The Specialists, and I tried this:
Code:
It doesn't return anything but 0. :-\. I'm wondering if this is a bug or...maybe I'm doing something wrong. In any case I was hoping someone could verify this with me or help me find a way to get the same results. This is the link to the DeathMSG event properties: http://wiki.amxmodx.org/Half-Life_1_...vents#DeathMsg Thanks again, appreciate the help. :) |
Re: TS - DeathMSG - No Weapon Returned?
|
Re: TS - DeathMSG - No Weapon Returned?
Quote:
Code:
Tried that already, and returns 0. |
Re: TS - DeathMSG - No Weapon Returned?
use this code in ur death msg event
Code:
new Weapon[32] |
Re: TS - DeathMSG - No Weapon Returned?
I believed that the users weapon gone on DeathMsg. But you can get their weapon on the Damage event.
PHP Code:
|
Re: TS - DeathMSG - No Weapon Returned?
http://forums.alliedmods.net/showthr...hlight=Message
Use this plugin. It will tell you the type and arguments. If it doesn't show up in here then it probably doesn't have it. |
Re: TS - DeathMSG - No Weapon Returned?
some mods doesnt use the headshot in the DeathMsg ( like esf ) so the weapon is at position 3 and not 4.
and yeah do what teame06 says. this couldn't be wrong ;) |
| All times are GMT -4. The time now is 10:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.