Forum

> > CS2D > Scripts > How do i create a Sound Spray
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch How do i create a Sound Spray

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt How do i create a Sound Spray

Kantos
BANNED Off Offline

Zitieren
when i worked on my spray sound


i need to fix this , the hook executed in server but when i Press "T" (Spray) its not executed the sound coin.wav
i need fix it , its execute the normal sound
i need to upload it , help me and i give u credits

1
2
3
4
addhook('spray','spray_hook')
if spray_hook then 
parse('sv_sound coin.wav')
end

[i]italic[i] Help me please and i give u credits on the script

alt Re: How do i create a Sound Spray

Rainoth
Moderator Off Offline

Zitieren
1
2
3
4
addhook("spray","erm")
function erm(id)
	parse("sv_sound potato.ogg")
end

Italic/Bold/Underlined text is made by putting
[symbol]TEXT[/symbol]

symbols are i,b,u

// Though you can make it better. You should use ID parameter to make the sound heard only for those who are near the player who sprays. But that's a bit more complicated for you I suppose.
1× editiert, zuletzt 03.01.14 00:50:53

alt Thx You . Can i Change it

Kantos
BANNED Off Offline

Zitieren
user Rainoth hat geschrieben
1
2
3
4
addhook("spray","erm")
function erm(id)
	parse("sv_sound potato.ogg")
end
user Rainoth hat geschrieben
------------

Thanks you for this
but i can change the code like this

1
parse("sv_sound coin.wav")
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht