PlayAudioStreamForPlayer
#1

Hello, this is my script so far..i want ti put 2 soundtracks in it..one for killername and one for the playername..is that possible? the links for the music are here.

http://k007.kiwi6.com/hotlink/ha4beyib1d/laugh_dp.wav

http://k007.kiwi6.com/hotlink/sx65ro...amestartup.mp3


Code:
new playername[24], killername[24];
	GetPlayerName(playerid, playername, sizeof(playername));
	GetPlayerName(killerid, killername, sizeof(killername));
	new string[128];
	format(string,sizeof string,"{C0C0C0}[ KILL-LIST ] Hrбc %s zabil %s.",killername, playername);
	SendClientMessageToAll(0xFFFFFFAA,string);
Reply
#2

pawn Code:
new playername[24], killername[24];
GetPlayerName(playerid, playername, sizeof(playername));
GetPlayerName(killerid, killername, sizeof(killername));
new string[128];
format(string,sizeof string,"{C0C0C0}[ KILL-LIST ] Hrбc %s zabil %s.",killername, playername);
SendClientMessageToAll(0xFFFFFFAA,string);
PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/ha4beyib1d/laugh_dp.wav");
PlayAudioStreamForPlayer(killerid, "http://k007.kiwi6.com/hotlink/sx65ro...amestartup.mp3");
Reply
#3

ohh god, im so stupid...how simple..thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)