How To Play Music + FS Blocks Gm Cmds
#1

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..
Reply
#2

anyone can help me ?
Reply
#3

(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
Reply
#4

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...
Reply
#5

thanks <3
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)