[FilterScript] MUSIC IN GAME
#1

I need a filterscript that every body can hear the music when they join. Im new and dont know how to post pastebin in pawno so can you give me a download link for .pwn and .amx. Also so i can change links in .pwn file for music.
Reply
#2

You should use: "Search button".

There are hundreds of audio systems.

+ Wrong Section.
Reply
#3

Quote:
Originally Posted by swungspeedz
View Post
I need a filterscript that every body can hear the music when they join. Im new and dont know how to post pastebin in pawno so can you give me a download link for .pwn and .amx. Also so i can change links in .pwn file for music.
Go to the last part in Pastebin and Press RMB and Click " Select All " and Copy it then go to Pawno and open Pawn.exe and then open a new file. Hit RMB and delete all and press CTRL + V LOL! and then Compile..If it shows any errors post them here and next time be carefull about the sections because its the wrong one Mate..
Reply
#4

Just simple use SAMP WIKI. )
Reply
#5

easy just put this under on player connect.

Quote:

PlayAudioStreamForPlayer(playerid, "http://k004.kiwi6.com/hotlink/s7tfbfo277/tijon_nightmares_ft_elana_lane_prod_chris_deletto. mp3");

but if you want it to play for all players when the person joins use its somert like this

Quote:

PlayAudioStreamForPlayer(i, "http://k004.kiwi6.com/hotlink/s7tfbfo277/tijon_nightmares_ft_elana_lane_prod_chris_deletto. mp3");

Reply
#6

Just search for it 'radio in samp]
+ lol u stoled aRoach's Avatar
+ wrong section
Reply
#7

When a player joins, you should, like said before, use PlayAudioStreamForPlayer.

pawn Code:
public OnPlayerConnect(playerid)
{
    new string[64], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof string,"%s has joined the server.",pName);
    SendClientMessageToAll(-1,string);
    PlayAudioStreamForPlayer(playerid,"http://www.cms.livjm.ac.uk/library/Alice/Alice/Required/sounds/chicken.mp3"); // This will play a chicken sound for the player.
    return 1;
}
Reply
#8

OK! nevermind i fixed it but how do i put repeat so it repeats the song and how do i add more just copy the same line?
Reply
#9

Quote:
Originally Posted by swungspeedz
View Post
OK! nevermind i fixed it but how do i put repeat so it repeats the song and how do i add more just copy the same line?
You can't repeat it with the SA-MP functions, but you could put it like 10 times in one sound using for example: Shuangs Audio Joiner.
Reply
#10

i need smething that i can do like /stop /start to start music to control music for whole server and like /next.then i can just put link in onplayerconnect can i put more than 1 link to play music like /next
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)