01.04.2016, 19:40
If you're asking on how to have a pickup play a sound upon entering it, you would do it as follows:
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.
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;
}