What... [+REP] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: What... [+REP] (
/showthread.php?tid=332165)
What... [+REP] -
James Coral - 07.04.2012
I have question
What include i need to use that i can use StreamRadio function
just i got scritp and i wanted to edit but i cant it shows me
UNDEFINED.....
Enyhelp`?
Re: What... [+REP] -
Reklez - 07.04.2012
show the error
you just said
you didn't show the full error or something like warning
Re: What... [+REP] -
Mark™ - 07.04.2012
i assume you're talking about "PlayAudioStreamForPlayer" samp native, right ?
Re: What... [+REP] -
James Coral - 07.04.2012
Ok: here it is:
Код:
C:\Users\eesti\Desktop\SAMP\filterscripts\raadio.pwn(57) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\eesti\Desktop\SAMP\filterscripts\raadio.pwn(72) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\eesti\Desktop\SAMP\filterscripts\raadio.pwn(87) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\eesti\Desktop\SAMP\filterscripts\raadio.pwn(97) : error 017: undefined symbol "StopAudioStreamForPlayer"
C:\Users\eesti\Desktop\SAMP\filterscripts\raadio.pwn(117) : error 017: undefined symbol "StopAudioStreamForPlayer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Re: What... [+REP] -
Mark™ - 07.04.2012
Quote:
Originally Posted by James Coral
Ok: here it is:
Код:
C:\Users\eesti\Desktop\SAMP\filterscripts\raadio.pwn(57) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\eesti\Desktop\SAMP\filterscripts\raadio.pwn(72) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\eesti\Desktop\SAMP\filterscripts\raadio.pwn(87) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\eesti\Desktop\SAMP\filterscripts\raadio.pwn(97) : error 017: undefined symbol "StopAudioStreamForPlayer"
C:\Users\eesti\Desktop\SAMP\filterscripts\raadio.pwn(117) : error 017: undefined symbol "StopAudioStreamForPlayer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
|
Thought so, update your server includes and download the 0.3d samp server package.
Re: What... [+REP] -
Reklez - 07.04.2012
Update your server SAMP Version (also your SAMP Game Version too)
i guess you using 0.3c right? it is impossible to appear this error during 0.3d session or 0.3e session.
EDIT:
You don't need to update your SAMP Server Version, Just update SAMP Game Version if you want to join in other server of 0.3e (i think) since theres GetPlayerVersion which gets the version of the players SAMP Client.
but to make sure just update the same.
Re: What... [+REP] -
Faisal_khan - 07.04.2012
Add this on the top or update to 0.3d:
pawn Код:
#pragma tabsize 0
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);
Re: What... [+REP] -
James Coral - 07.04.2012
Lol i useing 0.3d!
Re: What... [+REP] -
Mark™ - 07.04.2012
Quote:
Originally Posted by James Coral
Lol i useing 0.3d!
|
Then your server includes are outdated.
Re: What... [+REP] -
James Coral - 07.04.2012
Quote:
Originally Posted by Faisal_khan
Add this on the top or update to 0.3d:
pawn Код:
#pragma tabsize 0 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);
|
Thanks +REP!