VCMP 0.3 selecting skin song

Started by ForOver, Jun 03, 2018, 02:19 PM

Previous topic - Next topic

ForOver

guys anyone can help me?
do u remember guys when vcmp version has 0.3, when u selecting skin, u will hear a sound when u selecting skin
i want this so can u guys help me?

kennedyarz

    function onPlayerRequestClass( player, pclass, pteam, pskin )
    {
        PlaySound( player.UniqueWorld , 50002 , player.Pos );
        return 1;
    }

ForOver

Quote from: kennedyarz on Jun 03, 2018, 04:33 PM    function onPlayerRequestClass( player, pclass, pteam, pskin )
    {
        PlaySound( player.UniqueWorld , 50002 , player.Pos );
        return 1;
    }
its not works

Sebastian

Quote from: ForOver on Jun 03, 2018, 07:17 PMits not works

Because the Sound ID he used is a custome one, added by himself.
You should just change the 50002 with a default one. You can find a list of those sounds >here<
The one used in 0.3 was id 356, if I'm not wrong. You should give it a try.