i just had to test this..
Code:
register_concmd("amx_blood", "spray_blood")
..
public spray_blood(id) {
new arg[10], color
read_argv(1, arg,9)
color = str_to_num(arg)
new origin[3]
get_user_origin(id, origin)
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
write_byte(101) //TE_BLOODSTREAM
write_coord(origin[0]) //start position: x
write_coord(origin[1]) //start position: y
write_coord(origin[2]) //start position: z
write_coord(0) //spray vector: x
write_coord(0) //spray vector: y
write_coord(0) //spray vector: z
write_byte(color) //color
write_byte(100) //speed
message_end()
return PLUGIN_HANDLED
}
i was able to produce blue blood by using amx_blood 2000

0 was somewhat black and white
1000 red etc, i didnt bother testing more.. u can do it urself
so as a conclusion: as u can register that as an event, u should also be able to hook it with engine's register_message (so u can change the values or sumtin..)
Code:
register_event("23", "function", "a", "1=101") //register tempentity: TE_BLOODSTREAM
__________________