Raised This Month: $ Target: $400
 0% 

[CS 1.6]Kill-Health v.2.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
DevilUltimate
Junior Member
Join Date: Jun 2013
Location: Thailand
Old 07-21-2013 , 11:09   [CS 1.6]Kill-Health v.2.0
Reply With Quote #1

[CS 1.6]Kill Health From Plugin VIP By Dev!l

***Description***
MrNothing begged them to help him, so I make plugin Kill Health.
https://forums.alliedmods.net/showthread.php?t=140126


***
Modules required***
-fun
-cstrike

***Cvars
***
Open to cosole [Admin only]
hp [number] - default 5
hp_hs [number] - default 10
max_hp [number] - default 15

***Modify***
PHP Code:
health_add register_cvar("hp""5")
health_hs_add register_cvar("hp_hs""10")
health_max register_cvar("max_hp""100"
***Installation***
1.kill_healed.amxx add to /plugin
2.kill_healed.sma add to /scripting
3.Add tha name kill_healed.amxx to plugin.ini enjoy

***Credits***
Dunn0 - plugin vip

***Pictures***


***Changelog***
Code:
22 July 2013 - v. 2.0
-Bug fixed
-delete Color [Symbol]
-delete Contect [Symbol]
-delete Hasc4 [Symbol]
21 July 2013 - v. 1.0
-Bug fixed
-Add max hp
20 July 2013 - v. 0.1
-First Release
Thank Plugin VIP 3.0
Sorry,I bad english.

Attached Files
File Type: sma Get Plugin or Get Source (kill_healed.sma - 10188 views - 2.1 KB)
File Type: zip Kill_health v.2.zip (2.6 KB, 7397 views)

Last edited by DevilUltimate; 07-21-2013 at 23:52.
DevilUltimate is offline
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 07-21-2013 , 11:13   Re: [CS 1.6]Kill-Health v.1.0
Reply With Quote #2

Remove .amxx-file

and:
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

Warning: Symbol is never used: "COLOR" on line 84
Warning: Symbol is never used: "CONTACT" on line 84
Warning: Symbol is never used: "HasC4" on line 84
Warning: Symbol is assigned a value that is never used: "g_MsgSync" on line 84
Warning: Symbol is assigned a value that is never used: "g_MsgSync2" on line 84
Warning: Symbol is never used: "g_menu_active" on line 84
Warning: Symbol is assigned a value that is never used: "gmsgSayText" on line 84
Warning: Symbol is never used: "mhb" on line 84
Warning: Symbol is never used: "mpd" on line 84
Header size:            632 bytes
Code size:             2092 bytes
Data size:              572 bytes
Stack/heap size:      16384 bytes; estimated max. usage=778 cells (3112 bytes)
Total requirements:   19680 bytes

9 Warnings.
Done.
__________________
Selling Hosting stuff such as Webspace and Game- & VoiceServer

I'm also selling Steam Keys.
For more informations, contact me.

(Homepage is under development)
Smatify is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 07-21-2013 , 11:34   Re: [CS 1.6]Kill-Health v.1.0
Reply With Quote #3

He either edited or c/p from the VIP plugin.

Where's the trash can?
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 07-21-2013 at 14:47.
wickedd is offline
DevilUltimate
Junior Member
Join Date: Jun 2013
Location: Thailand
Old 07-21-2013 , 22:41   Re: [CS 1.6]Kill-Health v.2.0
Reply With Quote #4

Plugin Kill-Healed v.2

No error
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

Header size:            492 bytes
Code size:             1384 bytes
Data size:              328 bytes
Stack/heap size:      16384 bytes; estimated max. usage=778 cells (3112 bytes)
Total requirements:   18588 bytes
Done.

Last edited by DevilUltimate; 07-21-2013 at 22:43.
DevilUltimate is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 07-21-2013 , 23:33   Re: [CS 1.6]Kill-Health v.2.0
Reply With Quote #5

Remove the .amxx from the zip file. Even better just remove the zip file there's no need for it.

This is nothing more than a strip down version of VIP Plugin 3.0.

Here's Dunn0 code.

PHP Code:
public hook_death()
{
   
// Killer id
   
nKiller read_data(1)
   
   if ( (
read_data(3) == 1) && (read_data(5) == 0) )
   {
      
nHp_add get_pcvar_num (health_hs_add)
   }
   else
      
nHp_add get_pcvar_num (health_add)
   
nHp_max get_pcvar_num (health_max)
   
// Updating Killer HP
   
if(!(get_user_flags(nKiller) & ADMIN_LEVEL_H))
   return;

   
nKiller_hp get_user_health(nKiller)
   
nKiller_hp += nHp_add
   
// Maximum HP check
   
if (nKiller_hp nHp_maxnKiller_hp nHp_max
   set_user_health
(nKillernKiller_hp)
   
// Hud message "Healed +15/+30 hp"
   
set_hudmessage(02550, -1.00.1501.01.00.10.1, -1)
   
show_hudmessage(nKiller"Healed +%d hp"nHp_add)
   
// Screen fading
   
message_begin(MSG_ONEget_user_msgid("ScreenFade"), {0,0,0}, nKiller)
   
write_short(1<<10)
   
write_short(1<<10)
   
write_short(0x0000)
   
write_byte(0)
   
write_byte(0)
   
write_byte(200)
   
write_byte(75)
   
message_end()
 

__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 07-22-2013 , 10:46   Re: [CS 1.6]Kill-Health v.2.0
Reply With Quote #6

You just copied Dunno's VIP plugin and removed some code from there.

Approvers - Please unapprove this plugin.
__________________
simanovich is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-22-2013 , 11:09   Re: [CS 1.6]Kill-Health v.2.0
Reply With Quote #7

DevilUltimate, don't release again an existing plugin with minor modifications.

Unapproved.
__________________
Arkshine is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 09-17-2016 , 11:51   Re: [CS 1.6]Kill-Health v.2.0
Reply With Quote #8

dont work that plugin.
Godofwar is offline
Old 03-02-2023, 03:55
rabbit111
This message has been deleted by rabbit111. Reason: cuz i fixed it
Reply


Thread Tools
Display Modes

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 13:37.


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