PDA

View Full Version : Problem with a FS


Raphy
05/10/2012, 05:11 PM
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.

Red_Dragon.
05/10/2012, 05:15 PM
Do you have it defined in a NEW function or STOCK function ?

Raphy
05/10/2012, 05:19 PM
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;
}

Lordzy
05/10/2012, 05:23 PM
Use samp 0.3d include.

Aperture™
05/10/2012, 05:30 PM
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.

Mean
05/10/2012, 09:37 PM
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.