AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   death (https://forums.alliedmods.net/showthread.php?t=335970)

amirwolf 01-17-2022 23:37

death
 
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

OciXCrom 01-18-2022 13:39

Re: death
 
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.

Bugsy 01-18-2022 19:23

Re: death
 
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?

amirwolf 01-18-2022 20:32

Re: death
 
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

OciXCrom 01-19-2022 07:07

Re: death
 
"Creating a native" means editing the CSStats module itself.

amirwolf 01-19-2022 09:59

Re: death
 
Quote:

Originally Posted by OciXCrom (Post 2768816)
"Creating a native" means editing the CSStats module itself.

Oh so it's impossible for me

Bugsy 01-19-2022 13:44

Re: death
 
Let the death happen and then revive and do what you need to do.


All times are GMT -4. The time now is 11:37.

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