• Change the pitch of a sound according to value
    7 replies, posted
Im trying to change a pitch of a sound, like in these hl2 chargers, lets say the charge sound depending on the player's health while Value == 1 do playAndChangePitch() end
If you search for "pitch" on the Garry's Mod wiki you will (after filtering the unrelated results) find this: CSoundPatch/ChangePitch The ChangePitch method is part of the CSoundPatch object of which you can find more here: Category And an example (linked on that page) here: CreateSound
can i possibly get an example? i really dont know anything about Creating Sounds
The example is in the last link
how do i choose a specific sound?
I'm feeling like I'm thinking and reading for you, but here you go: read the last line of the example on the wiki.
thank you i just didnt understand that code
Ah no worries mate, you're welcome
Sorry, you need to Log In to post a reply to this thread.