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

help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
aNNNak1N
Junior Member
Join Date: Jan 2012
Location: Normandy, France
Old 04-29-2012 , 14:49   help
Reply With Quote #1

hello, can modify posts at the end of the round, those with Counter-Terrorists and Terrorists win? to be colored?

http://postimage.org/image/sojabgj0t/
aNNNak1N is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-29-2012 , 18:30   Re: help
Reply With Quote #2

Just use an normal Hudmessage,
PHP Code:
set_hudmessage(id"message"
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-29-2012 , 19:33   Re: help
Reply With Quote #3

PHP Code:
#include <amxmodx>
#include <cstrike>

#define VERSION "1.0"


public plugin_init() {
    
register_plugin("ShowHudMessage"VERSION"NapoleoN#")
    
    
register_logevent("RoundEndEvent"2"1=Round_End")
}

public 
RoundEndEvent(id) {
    if(
is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT) {
        
set_hudmessage(random(255), random(255), random(255), -1.00.3506.012.00.10.24)
        
show_hudmessage(0"Counter-Terrorists Won!")
    }
    else if(
is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_T) {
        
set_hudmessage(random(255), random(255), random(255), -1.00.3506.012.00.10.24)
        
show_hudmessage(0"Terrorists Won!")
    }

Untested: Tell me if bugs are found.
__________________

Last edited by Napoleon_be; 04-29-2012 at 19:34.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
aNNNak1N
Junior Member
Join Date: Jan 2012
Location: Normandy, France
Old 04-30-2012 , 04:03   Re: help
Reply With Quote #4

Quote:
Originally Posted by Napoleon_be View Post
PHP Code:
#include <amxmodx>
#include <cstrike>

#define VERSION "1.0"


public plugin_init() {
    
register_plugin("ShowHudMessage"VERSION"NapoleoN#")
    
    
register_logevent("RoundEndEvent"2"1=Round_End")
}

public 
RoundEndEvent(id) {
    if(
is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT) {
        
set_hudmessage(random(255), random(255), random(255), -1.00.3506.012.00.10.24)
        
show_hudmessage(0"Counter-Terrorists Won!")
    }
    else if(
is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_T) {
        
set_hudmessage(random(255), random(255), random(255), -1.00.3506.012.00.10.24)
        
show_hudmessage(0"Terrorists Won!")
    }

Untested: Tell me if bugs are found.
not working.
aNNNak1N is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 04-30-2012 , 07:13   Re: help
Reply With Quote #5

Code:
#include < amxmodx > public plugin_init( ) {     register_event( "SendAudio", "eventTerroristWin", "a", "2=%!MRAD_terwin" );     register_event( "SendAudio", "eventCtWin", "a", "2=%!MRAD_ctwin" ); } public eventTerroristWin( ) {     set_hudmessage( random( 255 ), random( 255 ), random( 255 ), -1.0, 0.35, 0, 6.0, 12.0, 0.1, 0.2, -1 );     show_hudmessage( 0, "Terrorists Won!" );         return PLUGIN_HANDLED; } public eventCtWin( ) {     set_hudmessage( random( 255 ), random( 255 ), random( 255 ), -1.0, 0.35, 0, 6.0, 12.0, 0.1, 0.2, -1 );     show_hudmessage( 0, "Counter-Terrorists Won!" );         return PLUGIN_HANDLED; }
__________________
You can do anything you set your mind to, man.

Devil259 is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-30-2012 , 07:36   Re: help
Reply With Quote #6

Quote:
Originally Posted by Napoleon_be View Post
PHP Code:
#include <amxmodx>
#include <cstrike>

#define VERSION "1.0"


public plugin_init() {
    
register_plugin("ShowHudMessage"VERSION"NapoleoN#")
    
    
register_logevent("RoundEndEvent"2"1=Round_End")
}

public 
RoundEndEvent(id) {
    if(
is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT) {
        
set_hudmessage(random(255), random(255), random(255), -1.00.3506.012.00.10.24)
        
show_hudmessage(0"Counter-Terrorists Won!")
    }
    else if(
is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_T) {
        
set_hudmessage(random(255), random(255), random(255), -1.00.3506.012.00.10.24)
        
show_hudmessage(0"Terrorists Won!")
    }

Untested: Tell me if bugs are found.
HAHAHAHAHAHAHAHHA THAT'S FUNNY HAHAHAHAHAH

PHP Code:
#include <amxmodx>

#define PLUGIN "Change win msg"
#define VERSION "1.0"
#define AUTHOR "Stereo"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_message(get_user_msgid("TextMsg"), "Msg_Change")
}
public 
Msg_Change(msg_idmsg_destid)
{
    if (
get_msg_args() > 1)
    {
        static 
message[32
        
get_msg_arg_string(2messagecharsmax(message)) 
        
        if(
equal(message"#Terrorists_Win")) 
        {
            
set_hudmessage(210000.050.45120.010.00.50.154);
            
show_hudmessage(0"TT WIN");
            return 
PLUGIN_HANDLED
        
}
        else if(
equal(message"#CTs_Win")) 
        {
            
set_hudmessage(210000.050.45120.010.00.50.154);
            
show_hudmessage(0"CT WIN");
            return 
PLUGIN_HANDLED
        
}
    } 
    return 
PLUGIN_CONTINUE

__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
aNNNak1N
Junior Member
Join Date: Jan 2012
Location: Normandy, France
Old 04-30-2012 , 08:24   Re: help
Reply With Quote #7

@Napoleon: don't work
@Devil: occur together and can not see well, appear one over the other
@Rak: appears on the other side ... not in place
aNNNak1N is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-30-2012 , 08:55   Re: help
Reply With Quote #8

set_hudmessage(random(255), random(255), random(255), -1.0, 0.25, 1, 20.0, 10.0, 0.5, 0.15, 4);
__________________

www.amxmodx-es.com

Steam: Luchokoldo

Last edited by rak; 04-30-2012 at 08:56.
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
aNNNak1N
Junior Member
Join Date: Jan 2012
Location: Normandy, France
Old 04-30-2012 , 09:38   Re: help
Reply With Quote #9

thanks, work
aNNNak1N 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 14:28.


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