Rank does not work with my plugin
Hey all :)
I have this code which is called when a player touchs another. PHP Code:
And another question I have. Is there a faster way to check 2 players distance to each other than the following method? PHP Code:
|
Re: Rank does not work with my plugin
Well im learning how to code amxx,
and im not sure , but i think u have to save that in vault something for there u have to :$ |
Re: Rank does not work with my plugin
1. Probably because the rank plugin will not see the fake death message that you create. You would need to cause one player to kill the other (ExecuteHam[B] + Ham_Killed or Ham_TakeDamage; not quite sure which).
2. Yes. Use get_players and use the cached entity indices. Quote:
|
Re: Rank does not work with my plugin
How can I use Ham_TakeDamage properly? Can I set who gives the dmg? This would be needed to fakekill somebody right? Thank you for your help fysiks :)
And MyDooM thanks for the try but I think you do not understand the problem :> |
Re: Rank does not work with my plugin
|
Re: Rank does not work with my plugin
Okay it works so far.
I use ExecuteHam(Ham_TakeDamage, pTouched, pToucher, pToucher, 100.0, 1<<2); but it will only show the knife if I have the knife in my hands. Can I force the icon which is showed in the deathmessage? And if I touch somebody the "shot" should go 1 up so that the accuracy is always 100% as you only need to touch the enemy to get him. |
| All times are GMT -4. The time now is 02:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.