Raised This Month: $ Target: $400
 0% 

[SOLVED] How to remove RED CROSS [c4 is planted] from radar?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alonelive
Senior Member
Join Date: Jan 2011
Location: Big snow country.. :)
Old 01-30-2013 , 07:32   [SOLVED] How to remove RED CROSS [c4 is planted] from radar?
Reply With Quote #1

Hello. How i can remove this red cross?




PHP Code:
public remove_cross()
{
        new 
players[32], inum
        get_players
(playersinum"h")

        for (new 
0inum; ++i)
        {
                if(
cs_get_user_team(players[i]) == CS_TEAM_T)
                {

                        
message_begin(MSG_ONE,screenfade,{0,0,0},players[i]);
                        
//block this cross!
                        
message_end();
                }
        }

__________________
sorry my bad english...

Last edited by alonelive; 01-31-2013 at 00:05.
alonelive is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 01-30-2013 , 10:25   Re: How to remove RED CROSS [c4 is planted] from radar?
Reply With Quote #2

i think you need to register a message in plugin_init( );
TheDS1337 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-30-2013 , 11:40   Re: How to remove RED CROSS [c4 is planted] from radar?
Reply With Quote #3

http://wiki.amxmodx.org/Half-Life_1_...vents#BombDrop
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
alonelive
Senior Member
Join Date: Jan 2011
Location: Big snow country.. :)
Old 01-31-2013 , 00:04   Re: How to remove RED CROSS [c4 is planted] from radar?
Reply With Quote #4

Quote:
Originally Posted by DeagLe.Studio View Post
i think you need to register a message in plugin_init( );
of course

Thank you

Solved with

message_begin(MSG_ALL, gmsgBombPickup)
message_end()
__________________
sorry my bad english...
alonelive 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 20:32.


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