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

remove hudmsgs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 01-10-2010 , 17:14   remove hudmsgs
Reply With Quote #1

hi,

is there a plugin to remove hudmsgs which will be showed on maps?
i downloaded a map and there will show a hud msg "visit us @ www.porn.com" and i want to remove this msg.

idk how to catch this msg else i would try it by my self
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
BackStats
Senior Member
Join Date: Oct 2008
Old 01-10-2010 , 20:29   Re: remove hudmsgs
Reply With Quote #2

open amxx.cfg and remove lines.
BackStats is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 01-10-2010 , 20:49   Re: remove hudmsgs
Reply With Quote #3



the msg is on map included
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
VMAN
Senior Member
Join Date: Oct 2007
Location: California, US
Old 01-10-2010 , 21:28   Re: remove hudmsgs
Reply With Quote #4

Which map? If it's some1s_jailbreak, remove an entity called game_text (IIRC)
__________________
VMAN is offline
Old 01-10-2010, 22:47
Toastt
This message has been deleted by Toastt.
lazarev
Veteran Member
Join Date: Sep 2008
Old 01-11-2010 , 02:45   Re: remove hudmsgs
Reply With Quote #5

Quote:
Originally Posted by Toastt View Post
but we dont have the .rmf or .map file
so remove with entity remover?
lold. try this
PHP Code:
/* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < engine >

public plugin_precache() {
    new 
szMapName32 ];
    
get_mapnameszMapName31 );
    
    if( 
equaliszMapName"some1s_jailbreak" ) )
    {
        new 
iEntity = -1;
        while( ( 
iEntity find_ent_by_class(iEntity"game_text") ) ) 
        
remove_entityiEntity );
    }

You can also edit message with
PHP Code:
entity_set_stringindexEV_SZ_message"message" ); 

Last edited by lazarev; 01-11-2010 at 02:48.
lazarev is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 01-11-2010 , 03:52   Re: remove hudmsgs
Reply With Quote #6

Search for game_text!
KadiR is offline
master4life
Senior Member
Join Date: Mar 2006
Location: Germany
Old 01-11-2010 , 04:23   Re: remove hudmsgs
Reply With Quote #7

Test this

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

public plugin_init( ) {
    
register_plugin"Remove GameText""0.1""wtf" );

    new 
szMapName32 ]; get_mapnameszMapNamesizeof szMapname );

    if( 
equalszMapname"some1s_jailbreak" ) )
        
remove_entity_name"game_text" );

__________________


[img]http://img714.**************/img714/8612/33726.png[/img]
master4life is offline
Send a message via ICQ to master4life Send a message via MSN to master4life Send a message via Skype™ to master4life
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 01-11-2010 , 04:30   Re: remove hudmsgs
Reply With Quote #8

hmm...
nop its not a jail map but anything like that. i think you all know the map kz_cellblock .there is the same msg as player spawns ill test the codes both are the same but sounds very good. ( if the msg is realy named as game_text )
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-11-2010 , 05:30   Re: remove hudmsgs
Reply With Quote #9

It can be only a game_text entity in such case.
__________________
Arkshine is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 01-11-2010 , 09:02   Re: remove hudmsgs
Reply With Quote #10

ty i got it hihi works perfect.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
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:57.


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