Raised This Month: $ Target: $400
 0% 

Solved Enemies Left


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
E1_531G
Senior Member
Join Date: Dec 2017
Old 01-01-2019 , 15:30   Re: What's the name of this Plugin?
Reply With Quote #1

Quote:
Originally Posted by Alber9091 View Post
Hy Thanks Alot !!!

But can you fix this? If there are Multiple Kills and Message is not disappeared. It overrides, can't it replace the number instead of changing with Override? And color bit darker? (Just bit darker not much, so noticeable)[Because in Maps like DD2, where there is part of sun shade in map, it becomes less visible !!!]

This happens because of auto-channel option at show_hudmessage() function.
Every new message takes new channel, as result we see this overriding.
If you know how, change above mentioned function to use one static channel.
__________________
My English is A0
E1_531G is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-01-2019 , 18:22   Re: What's the name of this Plugin?
Reply With Quote #2

Quote:
Originally Posted by E1_531G View Post
This happens because of auto-channel option at show_hudmessage() function.
Every new message takes new channel, as result we see this overriding.
If you know how, change above mentioned function to use one static channel.
Use a hud sync object.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 01-02-2019 , 10:25   Re: What's the name of this Plugin?
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
Use a hud sync object.
Some What This?
Thanks To eat1k A.K.A w0w

ReAPI + AMXX 1.9.0 + HUD instead of DHUD

PHP Code:
/*
* Author: https://t.me/twisternick
* Request: https://dev-cs.ru/threads/4792/
*/

#include <amxmodx>
#include <amxmisc>
#include <reapi>

#pragma semicolon 1

#define PLUGIN_VERSION "1.0"

/****************************************************************************************
****************************************************************************************/

new g_iSyncMessage;

public 
plugin_init()
{
    
register_plugin("Enemies Left"PLUGIN_VERSION"w0w");

    
RegisterHookChain(RG_CBasePlayer_Killed"refwd_PlayerKilled_Post"true);
    
g_iSyncMessage CreateHudSyncObj();
}

public 
refwd_PlayerKilled_Post()
{
    new 
iTs get_playersnum_ex(GetPlayers_ExcludeDead|GetPlayers_MatchTeam"TERRORIST");
    new 
iCTs get_playersnum_ex(GetPlayers_ExcludeDead|GetPlayers_MatchTeam"CT");

    
set_hudmessage(11055110, -1.00.7010.13.00.12.0, -1);
    
ShowSyncHudMsg(0g_iSyncMessage"Terrorists %d - %d Counter-Terrorists"iTsiCTs);


Last edited by Alber9091; 01-02-2019 at 10:26.
Alber9091 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 00:49.


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