Raised This Month: $ Target: $400
 0% 

[REQ][CSGO] !medic give +50HP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FurYXO
Junior Member
Join Date: Feb 2018
Old 04-03-2022 , 04:54   [REQ][CSGO] !medic give +50HP
Reply With Quote #1

Hello!
I need a plugin which do that when an "s" flag player type !medic or !medkit, he get back +50hp, if this is possible and not a hard job.
FurYXO is offline
xerox8521
Senior Member
Join Date: Sep 2011
Old 04-03-2022 , 15:50   Re: [REQ][CSGO] !medic give +50HP
Reply With Quote #2

Try the attached plugin. Gives 50 HP if the player has the "S" Flag and uses either !medic or !medkit.
By default it can only be used once per round which can be disabled with sm_medic_round_limit set to 0
The 50 HP bonus can be modified with sm_medic_bonus_hp

This plugin also limits it to 100 HP max you can gain. So if you use it at 80HP you won't gain 130HP only 100HP.

I haven't tested this plugin so please reply if it works as intended.
Attached Files
File Type: sp Get Plugin or Get Source (csgo_medic.sp - 83 views - 2.1 KB)

Last edited by xerox8521; 04-03-2022 at 15:52. Reason: Added command info.
xerox8521 is offline
FurYXO
Junior Member
Join Date: Feb 2018
Old 04-04-2022 , 06:37   Re: [REQ][CSGO] !medic give +50HP
Reply With Quote #3

Hey, xerox!
First, thanks for you fast work!
I tested the plugin, and the round limit have a bug, because after I used and wait for the next round, there I can't use because I get this: [SM]: You can only use this once per round!
FurYXO is offline
xerox8521
Senior Member
Join Date: Sep 2011
Old 04-04-2022 , 11:52   Re: [REQ][CSGO] !medic give +50HP
Reply With Quote #4

Yea sorry about that forgot to change something. Try this attached version.
Attached Files
File Type: sp Get Plugin or Get Source (csgo_medic.sp - 67 views - 2.1 KB)
xerox8521 is offline
FurYXO
Junior Member
Join Date: Feb 2018
Old 04-13-2022 , 07:04   Re: [REQ][CSGO] !medic give +50HP
Reply With Quote #5

Quote:
Originally Posted by xerox8521 View Post
Yea sorry about that forgot to change something. Try this attached version.
Hello!
Sorry for the late respond, now working without any problem.
Thank you so much!

Last edited by FurYXO; 04-13-2022 at 07:04.
FurYXO 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 21:47.


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