Raised This Month: $51 Target: $400
 12% 

Display previous round information in chat


Post New Thread Reply   
 
Thread Tools Display Modes
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-16-2021 , 11:16   Re: Display previous round information in chat
Reply With Quote #51

Quote:
Originally Posted by Bugsy View Post
I don't think it takes a victims health into consideration, it just gives what the total damage would be.
Seems correct to me.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-16-2021 , 11:28   Re: Display previous round information in chat
Reply With Quote #52

But being named pev_dmg_take, I interpreted it as the damage taken/loss in hp. This is the cause of the plugin returning the incorrect values...which has now been addressed.
__________________
Bugsy is offline
theuser
Member
Join Date: Jul 2020
Old 08-16-2021 , 13:34   Re: Display previous round information in chat
Reply With Quote #53

There is a funny problem!

If the player's ID is on server is 1, its iHealth value is always 100
In other words, the following value is always valid :

PHP Code:
if (iOtherPlayer == 1
iHealth [iOtherPlayer] = 100  // This always happens if the player ID is 1 
Interesting, but I do not understand the reason for this

Last edited by theuser; 08-16-2021 at 13:37.
theuser is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-16-2021 , 19:00   Re: Display previous round information in chat
Reply With Quote #54

Fixed. The problem was when I changed over the damage display to at spawn, the players have 100hp again, I didn't take this into consideration.

https://forums.alliedmods.net/showpo...8&postcount=22
__________________

Last edited by Bugsy; 08-16-2021 at 19:37.
Bugsy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode