danielkrupinski / Osiris

Cross-platform game hack for Counter-Strike 2 with Panorama-based GUI.
MIT License
3.34k stars 963 forks source link

[Suggestion] Team Damage Counter #1134

Closed Evilhelder closed 1 year ago

Evilhelder commented 4 years ago

This function would be nice, showing the total damage you did to your team (thus preventing you from taking a suspension for TK), and showing the damage your allies did to each other (Also giving information in case you are trolling, being able to ban allies.)

It's a pretty stupid function, but it's cool.

Discuss: https://www.unknowncheats.me/forum/counterstrike-global-offensive/307950-team-damage-counter.html

SC: image

ghost commented 4 years ago

player_hurt event in fireEventClientSide

if attackerID == localplayerID and victimTeam == localplayerTeam then increment a variable by the damage

logging it to the in-game console would require an external function i don't think is currently in Osiris.

danielkrupinski commented 4 years ago

@xAkiraMiura We have memory.debugMsg function.