SA-MP Forums Archive
pickup up sound id - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: pickup up sound id (/showthread.php?tid=604188)



pickup up sound id - ScIrUsna - 01.04.2016

Hi,

Please give my pickup up sound id.


Re: pickup up sound id - DTV - 01.04.2016

If you're asking on how to have a pickup play a sound upon entering it, you would do it as follows:
pawn Код:
public OnPlayerPickupPickup(playerid, pickupid)
{
    if(pickupid == ExamplePickup)
    {
        PlayerPlaySound(playerid, soundid); //soundid being the sound id you want to play
        //Other functions here
    }
    return 1;
}
You can browse sound ids by clicking here. If this isn't what you mean, then I'm not too sure what you're asking.


Re: pickup up sound id - ScIrUsna - 01.04.2016

I need just sound id which contains when you pickup up pickup


Re: pickup up sound id - DTV - 01.04.2016

Try using 3036 or 1150.