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

Request Give HP PLUGIN .


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DanutValentin
Junior Member
Join Date: Oct 2017
Old 10-13-2017 , 22:20   Request Give HP PLUGIN .
Reply With Quote #1

Hello everyone ,
1.I want a plugin who can give +10 hp per kill and +15hp per headshot .
2.I have a votemap plugin but it doesn't work very good , I mean the plugin is right but I think there is a problem at umc_mapcycle, I want for the plugin when I've 10 players or less on server to create a votemap with small maps like dust2x2 , inferno2x2 etc.. and when is over 10 players to create a votemap with normal maps like dust2 mirage cache .
I am using this plugin for now http://www68.zippyshare.com/v/Mk1HXFfV/file.html
My umc_mapcycle : https://pastebin.com/BURhVL08


Thanks a lot !
DanutValentin is offline
alexr153
AlliedModders Donor
Join Date: Jul 2015
Location: In a house
Old 10-14-2017 , 05:04   Re: Request Give HP PLUGIN .
Reply With Quote #2

I've done your 1st request that you asked for.

If there are any bugs tell me and I'll fix it as soon as I can.

ConVars
sm_hp_enable = <0/1> Default:(1) - Enables or disables the plugin
sm_hp_enable_chat <0/1> Default:(1) - Enables or disables chat messages
sm_hp_on_bot_kill <0/1> Default:(1) - Enables or disables giving HP on bot kill
sm_hp_over_100 <0/1> Default:(0) - Enables or disables giving HP over 100
sm_hp_on_team_kill <0/1> Default:(0) - Enables or disables giving HP on team kill
sm_hp_on_hs <0/100> Default:(15) - The amount of HP to give the attacker for a headshot
sm_hp_on_kill <0/100> Default:(10) - The amount of HP to give the attacker for a kill
Attached Files
File Type: sp Get Plugin or Get Source (ar_hp.sp - 293 views - 4.4 KB)
alexr153 is offline
DanutValentin
Junior Member
Join Date: Oct 2017
Old 10-14-2017 , 13:54   Re: Request Give HP PLUGIN .
Reply With Quote #3

The first plugin is working verry good , appreciate that . Thanks for your help , if you want to give me translation file , i want to change in our mother language .


Can anyone help me with the second plugin ?
DanutValentin is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 10-14-2017 , 14:01   Re: Request Give HP PLUGIN .
Reply With Quote #4

Quote:
Originally Posted by DanutValentin View Post
The first plugin is working verry good , appreciate that . Thanks for your help , if you want to give me translation file , i want to change in our mother language .


Can anyone help me with the second plugin ?
if you know how to compile, you'll just need to change these lines:
PHP Code:
...
PrintToChat(target"[\x06SM\x01] You have been given %i HP for killing %s with a headshot"GetConVarInt(sm_hp_on_hs), clientName); //Line #94 - Change "You have been..."
... 
&
PHP Code:
PrintToChat(target"[\x06SM\x01] You have been given %i HP for killing %s with a headshot"GetConVarInt(sm_hp_on_kill), clientName); //Line #116 - Change "You have been..." 
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
DanutValentin
Junior Member
Join Date: Oct 2017
Old 10-14-2017 , 15:11   Re: Request Give HP PLUGIN .
Reply With Quote #5

Done , thanks !
So with the second plugin can anyone help me ?
DanutValentin is offline
DanutValentin
Junior Member
Join Date: Oct 2017
Old 10-26-2017 , 17:04   Re: Request Give HP PLUGIN .
Reply With Quote #6

UP ! Still need this plugin !
DanutValentin is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 11-02-2017 , 03:03   Re: Request Give HP PLUGIN .
Reply With Quote #7

Quote:
Originally Posted by DanutValentin View Post
UP ! Still need this plugin !
You sould request this in UMC thread
ESK0 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 03:00.


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