Ham_Killed
When Ham_killed is called, and you're executing the function that you hooked to that. what does that shouldgib var mean?
Quote:
|
Re: Ham_Killed
Quote:
|
Re: Ham_Killed
Quote:
Later in my search i found CSX module which includes client_death, returning the weaponID in which the victim was killed with. But is there a more popular module that has this functionality? I really hate using so many different headerfiles when i can use just one or two. |
Re: Ham_Killed
Quote:
If you don't need to modify the killed function then just use DeathMsg and you can get the weapon from the args. |
Re: Ham_Killed
Quote:
|
Re: Ham_Killed
shouldgiv.
KILLER -> RPG/Mp5 Grender -> Boom -> Victim -> blood, meat -> shouldgib=1 |
Re: Ham_Killed
Code:
// when calling KILLED(), a value that governs gib behavior is expected to be Code:
void CBasePlayer::Killed( entvars_t *pevAttacker, int iGib ) |
Re: Ham_Killed
Much thanks Connor!
Appreciate it. |
| All times are GMT -4. The time now is 00:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.