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
__________________