i want to make that in crysis 2d mod
if i click to maximum speed.play sound
i created but not works
1
2
3
2
3
addhook("say","cry.sayfunction")
if msg("[Crysis]Maximum Speed!") then
parse("sv_sound \"crysis/nanosuit_speed.wav\""); end
addhook("say","cry.sayfunction")
if msg("[Crysis]Maximum Speed!") then
parse("sv_sound \"crysis/nanosuit_speed.wav\""); end
addhook("say","crysis.sayfunction")
function crysis.sayfunction(id,txt)
if txt=="[Crysis]Maximum Speed!" then
parse('sv_sound "crysis.nanosuit_speed.wav"')
end
end
_msg = msg
function msg(txt)
if txt == "[Crysis]Maximum Speed!" then
parse("sv_sound \"crysis/nanosuit_speed.wav\"")
end
_msg(txt)
end