How To Play Music + FS Blocks Gm Cmds - 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: How To Play Music + FS Blocks Gm Cmds (
/showthread.php?tid=422052)
How To Play Music + FS Blocks Gm Cmds -
Anak - 12.03.2013
hello.. i want to ask that how to play sound/music in particular area forexample if player is in range of (0, 0, 0) he will listen music. like in some interiors like Jizzy pleasure club ..etc..
and other thing my FS blocks Gm's Cmds... while Fs commands work..
thanks..
Re: How To Play Music + FS Blocks Gm Cmds -
Anak - 12.03.2013
anyone can help me ?
Re: How To Play Music + FS Blocks Gm Cmds - Patrick - 12.03.2013
(1) To make a sound in a particular areas you might need
PlayAudioStreamForPlayer.
(2) maybe your gm uses zcmd and your fs uses strcmp or dcmd. or other way round. it conflicts
Re: How To Play Music + FS Blocks Gm Cmds -
Threshold - 12.03.2013
https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer
pawn Код:
public OnPlayerSpawn(playerid)
{
PlayAudioStreamForPlayer(playerid, url[], x, y, z, 30.0, 1);
return 1;
}
Replace x, y, z with the respective coordinates of Jizzy's Pleasure Domes, and the stream will play for that area for a distance of 30 units.
@pds Way to edit your post after someone posts the right answer...
Re: How To Play Music + FS Blocks Gm Cmds -
Anak - 12.03.2013
thanks <3