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

death


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 01-17-2022 , 23:37   death
Reply With Quote #1

Hello I created a fake death Which revives the player before he is killed My question is, is there a stock that adds killing statistics? Or anything related to it
Because information is not stored in stats
__________________

Last edited by amirwolf; 01-17-2022 at 23:43.
amirwolf is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-18-2022 , 13:39   Re: death
Reply With Quote #2

Afaik there is no way to modify CSStats information, at least directly.

Not sure if some method of adding frags can be detected by CSStats. I haven't personally heard of one.
__________________

Last edited by OciXCrom; 01-18-2022 at 13:40.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-18-2022 , 19:23   Re: death
Reply With Quote #3

There are no natives to manually write stats and it's not possible to write to the file as AMX-X will have the file open while the game is running, preventing anything else from writing to it.

If you can figure out a way to close csstats.dat during runtime I can write code to update the file.

Can you instead let the kill happen and then revive etc?
__________________

Last edited by Bugsy; 01-18-2022 at 19:36.
Bugsy is offline
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 01-18-2022 , 20:32   Re: death
Reply With Quote #4

Maybe it can solve this by creating a native and connecting it to the game statistics
But I think the best way is to get back to normal
Anyway, thank you for your answer
__________________
amirwolf is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-19-2022 , 07:07   Re: death
Reply With Quote #5

"Creating a native" means editing the CSStats module itself.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 01-19-2022 , 09:59   Re: death
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
"Creating a native" means editing the CSStats module itself.
Oh so it's impossible for me

Last edited by amirwolf; 01-19-2022 at 10:12.
amirwolf is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-19-2022 , 13:44   Re: death
Reply With Quote #7

Let the death happen and then revive and do what you need to do.
__________________
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 09:42.


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