Problem with a FS
#1

A FS gives me an error and I forgot how to solve it.
Please explain to me how I can solve this error.

Код:
D:\Server\filterscripts\ks2.pwn(97) : error 017: undefined symbol "PlayAudioStreamForPlayer"
Thanks in advance.
Reply
#2

Do you have it defined in a NEW function or STOCK function ?
Reply
#3

I don't have it defined.
Look:
Код:
		if(PlayerTotalKills[killerid] == 1)
		{
			PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351113.mp3");
			
			format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~w~Just Drew ~R~FIRST BLOOD", Name);
			GameTextForAll(string, 6000,3);
			
			format(string, sizeof(string), "You get $%i and +%i score! (killing spree bonus)", money1, score1);
			SendClientMessage(killerid, C_LBLUE, string);

			GivePlayerMoney(playerid, money1);
			GivePlayerScore(playerid, score1);
					
			return 1;
		}
Reply
#4

Use samp 0.3d include.
Reply
#5

Quote:
Originally Posted by Lordz™
Посмотреть сообщение
Use samp 0.3d include.
That wouldn't help. - He should make sure he has the newest Audio Plugin features for his [F]ilter[S]cript.
Reply
#6

Quote:
Originally Posted by Aperture™
Посмотреть сообщение
That wouldn't help. - He should make sure he has the newest Audio Plugin features for his [F]ilter[S]cript.
Actually it would. SA-MP 0.3d and newer have this as a built in function.

So all you have to do is get the new SA-MP includes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)