Voice in server Like ec server have

Started by Nihongo^, Nov 28, 2016, 01:34 PM

Previous topic - Next topic

Nihongo^

how can i run Voice function in server  LIKE EC have,  if someone pop your head it said "HEADSHOT"


Nihongo^


.

.

Nihongo^

i mean i want an example like if someone pop your head it said headshot like this ?

.

Quote from: Nihongo^ on Nov 28, 2016, 02:21 PMi mean i want an example like if someone pop your head it said headshot like this ?

Seriously dude? You can't even come up with that?

function onPlayerKill(killer, player, reason, body_part)
{
    if (body_part == BODYPART_HEAD)
    {
        PlayTheDamnSound(...);
    }
}
.

Nihongo^

bro i dont have any idea about PlayTheDamnSound(...); Code -.- 

Mötley

xD sorry, That's really funny PlayTheDamnSound()..

Nihongo^

#8
Quote from: . on Nov 28, 2016, 02:24 PM
Quote from: Nihongo^ on Nov 28, 2016, 02:21 PMi mean i want an example like if someone pop your head it said headshot like this ?

Seriously dude? You can't even come up with that?

function onPlayerKill(killer, player, reason, body_part)
{
    if (body_part == BODYPART_HEAD)
    {
        PlayTheDamnSound(...);
    }
}
there's no Fucntion call PLAY THE DAMN SOUND btw that's what i want

https://forum.vc-mp.org/?topic=2329.msg17207#msg17207

Solved

.

.