Help with PlayAudioStreamForPlayer
#1

People Im having this problem for a pretty long while, And I just cant fix it! It starts to annoy since when I need to make even little updated that are not related to PlayAudioStreamForPlayer I cannot do them since this line dosent let me compile, But the most interesting fact is that if my friend compiles the GM from his PC(it gives him no errors) and sends me the .pwn and .amx the GM will work for me aswel, but if I dare to compile it after he sent it to me it wont compile cause of this stuff, im confused and Dont know what todo and why does it do it, I tried reinstalling my GTA SA, my SAMP. And I DO start up my GM from pawno that is in 0.3d folder.

Please someone help

Код:
D:\WESTLIFE0.3D\gamemodes\WCL.pwn(2556) : error 017: undefined symbol "PlayAudioStreamForPlayer"
D:\WESTLIFE0.3D\gamemodes\WCL.pwn(2635) : error 017: undefined symbol "StopAudioStreamForPlayer"
Reply
#2

What kind of compiler and what kind of includes he uses ? That haz to be the problem.
Reply
#3

He sent me all of his includes and it didnt solve the problem he uses same compiler as me "Pawno"
Reply
#4

Replace your includes with 0.3d includes and recompile.
Reply
#5

Yes upgrade your server to 0.3d
Reply
#6

I solved his problem over MSN.
The problem was that he had the old Pawno.exe associated with .pwn files, tried to set the new Pawno.exe as the standard program for .pwn files, but windows didn't want to do that. So it stayed the old one.
How to solve:
Open the new pawno.exe, open any .pwn file with the icon on the top bar, and close pawno.
Then right click on any .pwn file and click "Chose standardprogram" or something like that. Than browse to the new pawno.exe, select and click OK. Then it should open with the new one.
Reply
#7

I just added this before the PlayAudioStreamForPlayer

Код:
 native PlayAudioStreamForPlayer(playerid, url[] Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0);
native StopAudioStreamForPlayer(playerid);
Reply
#8

Anthony, you can use it without your code.

Ce que tu as ecrit jouera le son voulu dans un rayon de 50m autour du point 0,0,0 cad dans la campagne, blueberry je pense. Excuse mois si je me trompe
Reply
#9

Mehdi-jumper you know, I speak french and I need to add this for the compiler
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)