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

Saved ya


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
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 - 382 views - 5.3 KB)
File Type: sma Get Plugin or Get Source (saved_ya_api.sma - 126 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
 



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 19:05.


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