edited 1×, last 29.05.19 10:40:14 am
Scripts
:notok:
:notok:
1

addhook ("say", "preventsay")
function preventsay (id, message)
	return 1
end
say at your another scripts. Use Dinosaur Tool to find solution addhook("say","s",1)
function s(id,tx)
parse("msg "..tx.."@C")
return 1
end
addhook("say","s",1)
function s(id,txt)
parse("msg "..txt.."@C")
return 1
end
G3tWr3ck3d: it's actually the same thing, but as far as I know, the message command for the console is sv_msg, not msg.
RedizGaming: You might want to use code tagsaddhook("say","_say")
function _say(id,txt)
msg(txt.."@C")
return 1
end
Rainoth: Okey
1
