Raised This Month: $ Target: $400
 0% 

[SOLVED]replace target bombed & hsa been saved


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-12-2011 , 11:08   [SOLVED]replace target bombed & hsa been saved
Reply With Quote #1

i tried to find anything to replace the msg but found nothing.

i tried to replace it with :

PHP Code:
register_event("23""event_bomb_explosion""a""1=17""6=-105""7=17")

public 
event_bomb_explosion()
{
    
message_begin(MSG_ALLg_msg_text)
    
write_byte((1<<2))
    
write_string("#Catchers won the round!")
    
message_end()

__________________
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 04-12-2011 , 11:41   Re: replace targed bombed & hsa been saved
Reply With Quote #2

You need to hook TextMsg. And again, already asked and answered a billion of times. Please search.
__________________
Arkshine is offline
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 04-12-2011 , 11:46   Re: replace targed bombed & hsa been saved
Reply With Quote #3

dFF is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-12-2011 , 11:52   Re: replace targed bombed & hsa been saved
Reply With Quote #4

TextMsg arg 1 is not a bit but an integer.

The one you need it arg 1 == 4 (print_center) and arg 2 = "#Target_Bombed"

Hook TextMsg or register the event and send a new message.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-12-2011 , 12:02   Re: replace targed bombed & hsa been saved
Reply With Quote #5

ty connor.

txtmsg is hooked else i would get errors.
__________________
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


Thread Tools
Display Modes

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 19:49.


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