Raised This Month: $ Target: $400
 0% 

green chat message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ch3cker
Veteran Member
Join Date: Jun 2005
Location: Deutschland / Baden-Würt
Old 10-05-2006 , 12:32   green chat message
Reply With Quote #1

hi guys
i have a script in it it show a message
Code:
client_print(id, print_chat, "Schreibe /myhits um deine Angreifer und Treffer zu sehen!")
Now i want to that this message will be shown in green. This message is shown to a player who is killed.
Now how is it possible to make this?
I found this
Code:
public plugin_init() {     
register_clcmd("say","hook_say") } 

public hook_say(id) {     
message_begin(MSG_ONE, get_user_msgid("SayText"), {0,0,0}, id)     write_byte(id)
write_string("^x03Team colored text ^x01Normal color")
message_end()         
return PLUGIN_HANDLED 
}
But I dont know how to change this to print this colored message (if its possible in green) to this one killed player.

Please help me
__________________
SORRY 4 MY BAD ENGLISH

Last edited by ch3cker; 10-05-2006 at 12:35.
ch3cker is offline
 



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 04:45.


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