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

Half-Life: Zombie Mod X 1.1 [Last Update: 27/9/2019]


Post New Thread Reply   
 
Thread Tools Display Modes
Aear
New Member
Join Date: Oct 2022
Old 10-11-2022 , 16:39   Re: Half-Life: Zombie Mod X 1.1 [Last Update: 27/9/2019]
Reply With Quote #21

hi rtxa , ur plugins is very cool anyway i see this plugins before 2 years and i install him and everything work but there 2 hl.dll i have the normal one and the nghl one when i use normal everything work but the hud not show i try nghl one and the hud works but after some secs the game crash and hlds same thing i want ur help or ur hl.dll thx for reading


edit : never mind i fix the problem

Last edited by Aear; 10-13-2022 at 02:50.
Aear is offline
dragonstick
Junior Member
Join Date: Nov 2023
Old 11-22-2023 , 04:55   Re: Half-Life: Zombie Mod X 1.1 [Last Update: 27/9/2019]
Reply With Quote #22

[Solve]solve by update my amx from 1.9 to 1.10.0.5467
hi i have a problem round won't start after countdown, stuck in spectator mode. help plz

https://ibb.co/6twQJfQ

https://ibb.co/68LqTJK

Last edited by dragonstick; 11-22-2023 at 05:28.
dragonstick is offline
dragonstick
Junior Member
Join Date: Nov 2023
Old 11-22-2023 , 07:04   Re: Half-Life: Zombie Mod X 1.1 [Last Update: 27/9/2019]
Reply With Quote #23

[Solve]because bugfix dll cause a problem, so i revert to steam hl dll, work fine
new problem, can't switch weapon while in this game mode
sound like we don't have HEV suit on spawn, any idea?

Last edited by dragonstick; 11-22-2023 at 07:39.
dragonstick is offline
BIGTONY
New Member
Join Date: Nov 2023
Old 11-24-2023 , 10:16   Re: Half-Life: Zombie Mod X 1.1 [Last Update: 27/9/2019]
Reply With Quote #24

Hello, is there an easy way to make Zombies respawn? I tried to look in the sma file but sadly I couldn't figure it out, thanks in advance.
BIGTONY is offline
AMD_Ryzen
New Member
Join Date: Jan 2021
Old 03-15-2024 , 18:00   Re: Half-Life: Zombie Mod X 1.1 [Last Update: 27/9/2019]
Reply With Quote #25

Hello to all forum users.
There is a plugin (Team Score HLTDM) that shows the teams' score in HUD; it is suitable for Half Life.
Code:
#include <amxmodx>
#include <amxmisc>
#include <dhudmessage>
#include <hl>


#define VERSION   "1.0"




new ScoreRed = 0
new ScoreBlue = 0

enum
{
TEAM_NONE = 0,
TEAM_BLUE,
TEAM_RED,
TEAM_SPEC
}


public plugin_init()
{
   register_plugin("HL Teams Score By killing", VERSION, "Kuma")
   register_message(get_user_msgid("DeathMsg"), "DeathMessage") 
   set_task(1.0,"score_round",_,_,_,"b")
}



public DeathMessage() 
{ 
    new iKiller = get_msg_arg_int(1)
    
    new iAdd = 1
    if(hl_get_user_team(iKiller) == TEAM_BLUE ) 
    { 
	ScoreBlue += iAdd
        client_print(0, print_chat, "you are blue with %d", ScoreBlue)
    } 
    if( hl_get_user_team(iKiller) == TEAM_RED ) 
    { 
        ScoreRed += iAdd
        client_print(0, print_chat, "you are red with %d", ScoreRed)
    } 
} 


public score_round()
{
  
   set_dhudmessage(0, 70, 200, -1.0, 0.0, 0, 0.5, 1.1, 0.08, 1.1, true)
   show_dhudmessage(0,"Human :%d|                       ", ScoreBlue);
   
   set_dhudmessage(200, 0, 0, -1.0, 0.0, 0, 0.5, 2.0, 0.08, 2.0, true);
   show_dhudmessage(0,"                       |%d: Zombie", ScoreRed);
}
I want to install this plugin on a server with the mod "Half-Life: Zombie Mod X", but I encountered the following problem. When a person kills zombies ( Humans Win ), then the people's victory count changes to "1". And if a zombie infects a person ( Zombie Win ), then nothing happens, the zombie score remains at zero “0”. Can anyone help with this plugin so that it works correctly on this mod "Half-Life: Zombie Mod X"?
AMD_Ryzen is offline
rtxa
Senior Member
Join Date: Mar 2018
Location: Argentina
Old 03-15-2024 , 21:09   Re: Half-Life: Zombie Mod X 1.1 [Last Update: 27/9/2019]
Reply With Quote #26

Unfortunately, I haven't made an API to allow you to easily give points to zombies on infection from any custom plugin, so I guess you're only alternative is to look into zx.sma and mimic what TakeDamage does in your custom plugin. Of course, instead of infecting the zombie, just increase the score of zombies.
__________________
rtxa is offline
rtxa
Senior Member
Join Date: Mar 2018
Location: Argentina
Old 03-15-2024 , 21:16   Re: Half-Life: Zombie Mod X 1.1 [Last Update: 27/9/2019]
Reply With Quote #27

Quote:
Originally Posted by BIGTONY View Post
Hello, is there an easy way to make Zombies respawn? I tried to look in the sma file but sadly I couldn't figure it out, thanks in advance.
Players are send to spec when killed and they're not able to enter the match until the round is over. If you want to make him respawn after some time, you need to use the function hl_set_user_spectator(id, false). Of course, what you want is not an easy task and can have side-effects, but it's not impossible.
__________________
rtxa 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 10:13.


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