Thread: Saved ya
View Single Post
Plugin Info:     Modification:          Category:         
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 11-02-2019 , 14:46   Saved ya
Reply With Quote #1

Saved ya


- Description
- This plugin is based on a feature that CSGO has, that's when a player kill an enemy while another teammate is being killed or was about to be killed by him, it prints a message on the chat.

- Change log
Spoiler








Plugin's check explanation:
- If you hit someone and he/her is not seeing you, your id is catched by the plugin. If in an interval of time of 2 seconds someone kill you, he'll save the player who you've had hit before.
- If in a certain distance (closer enough) someone just saw you and another teammate killed him, that teammate will be considered a savior as well (the same, 2 seconds delay, otherwise the ID will be reseted).

Basically, it does the same as this - https://gist.github.com/sigsegv-mvm/...8284151423041b, the only difference is that my code is a little bit hacky, but works.
Attached Files
File Type: sma Get Plugin or Get Source (saved_ya.sma - 375 views - 5.3 KB)
File Type: sma Get Plugin or Get Source (saved_ya_api.sma - 121 views - 5.5 KB)
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 06-25-2022 at 00:55.
EFFx is offline