SA-MP Forums Archive
How to add music ? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to add music ? (/showthread.php?tid=105530)



How to add music ? - GaGlets(R) - 29.10.2009

How can i put music in interior (cj house)

I have made npc in cj house - i need to put there some music.. how ?


Re: [map]music - FUNExtreme - 29.10.2009

You can find this on the wiki

EDIT: https://sampwiki.blast.hk/wiki/PlayerPlaySound


Re: [map]music - GaGlets(R) - 29.10.2009

maybe can...

other mains help me !


Re: [map]music - (.Aztec); - 29.10.2009

Quote:
Originally Posted by FUNExtreme
You can't
Actually, i believe there was a music box include somewhere, that if you're near the object, it would play some music.


Re: [map]music - GaGlets(R) - 29.10.2009

Quote:
Originally Posted by sizeof(Sky));
Quote:
Originally Posted by FUNExtreme
You can't
Actually, i believe there was a music box include somewhere, that if you're near the object, it would play some music.
i have heard about it too so.. help me !!


Re: [map]music - FUNExtreme - 29.10.2009

I was incorrect. I forgot that some sounds are avaible. My post was allready edited around 5 seconds after posting


Re: [map]music - GaGlets(R) - 29.10.2009

TNX !!


Re: [map]music - GaGlets(R) - 29.10.2009

OMG i need help...

How can i put the song in that house ? i have choosen id1076 song .. where i need to put

PlayerPlaySound(playerid, 1068, 2492.5146,-1703.2296,1015.5703);

I know this sounds stupid


Re: How to add music ? - GaGlets(R) - 29.10.2009

Ok i have found how to add song but now i need to meake only in CJ house not in all game here is half code..
Код:
public OnPlayerConnect(playerid)
{
	PlayerPlaySound(playerid, 1062, 2492.9883,-1708.2472,1015.6316);
	return 1;
}
I know i need to something add starting with
Код:
if player .....



Re: How to add music ? - david_wood - 29.10.2009

Probs something to do with


Код:
If PlayerInInterior
??