What... [+REP]
#1

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`?
Reply
#2

show the error

you just said

Код:
UNDEFINED...
you didn't show the full error or something like warning
Reply
#3

i assume you're talking about "PlayAudioStreamForPlayer" samp native, right ?
Reply
#4

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.
Reply
#5

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.
Reply
#6

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.
Reply
#7

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);
Reply
#8

Lol i useing 0.3d!
Reply
#9

Quote:
Originally Posted by James Coral
Посмотреть сообщение
Lol i useing 0.3d!
Then your server includes are outdated.
Reply
#10

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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)