AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   [CS 1.6]Kill-Health v.2.0 (https://forums.alliedmods.net/showthread.php?t=221384)

DevilUltimate 07-21-2013 10:09

[CS 1.6]Kill-Health v.2.0
 
2 Attachment(s)
:)[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***
http://i39.tinypic.com/157mcdz.jpg

***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.
:):):):):):):):)

Smatify 07-21-2013 10:13

Re: [CS 1.6]Kill-Health v.1.0
 
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.


wickedd 07-21-2013 10:34

Re: [CS 1.6]Kill-Health v.1.0
 
He either edited or c/p from the VIP plugin.

Where's the trash can?

DevilUltimate 07-21-2013 21:41

Re: [CS 1.6]Kill-Health v.2.0
 
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.


wickedd 07-21-2013 22:33

Re: [CS 1.6]Kill-Health v.2.0
 
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()
 



simanovich 07-22-2013 09:46

Re: [CS 1.6]Kill-Health v.2.0
 
You just copied Dunno's VIP plugin and removed some code from there.

Approvers - Please unapprove this plugin.

Arkshine 07-22-2013 10:09

Re: [CS 1.6]Kill-Health v.2.0
 
DevilUltimate, don't release again an existing plugin with minor modifications.

Unapproved.

Godofwar 09-17-2016 10:51

Re: [CS 1.6]Kill-Health v.2.0
 
dont work that plugin.


All times are GMT -4. The time now is 20:44.

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