Get index of player
How can i get player index without puting index/id... in ev_deathmsg?
PHP Code:
|
Re: Get index of player
It depends on what you are actually hooking. If you are hooking the actual death message (as opposed to Ham_Spawn), you can get the appropriate argument that contains the dead player's entity number. Search for other examples of hooking "DeathMsg" because most all of them will use either the killer or victim id.
Also, you can see all the arguments of the various messages here. |
Re: Get index of player
Quote:
PHP Code:
|
Re: Get index of player
Ok. Did you have another question? Your code currently won't run or compile.
|
| All times are GMT -4. The time now is 18:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.