#1

I updated my server to 0.3d and my samp client, and when I run samp-server.exe
I get:
Код:
Script [gamemode/rp.amx]: Run time error 19: "File or function not found"
samp-server.exe


gamemodes folder


server.cfg
Reply
#2

Have you Recompile your scripts with 0.3d includes?
Reply
#3

You are missing some plugins, first add:
Код:
plugins streamer sscanf
THIS ^ to your server.cfg
Reply
#4

No he is not missing plugins, if he just changed the server and the server worked.
Please download the sa-mp 0.3d server for windows, copy the includes from pawn/includes to your server, recompile it, download the new sscanf(if you need it) and put it on your server.
Should start running
Reply
#5

Run Time Error 19 Fixed See Here

http://forums.volt-host.com/index.php?topic=167.0
Reply
#6

Fixed it thx, now im using in my map
pawn Код:
Radio[0][playerid] = Audio_PlayStreamed(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1283516",false,false,false);
As im aware there is no requirement to use audio plugin on 0.3d, what do I have to change with that code so it plays with the 0.3d function insted of audio plugin?
Reply
#7

Quote:
Originally Posted by -BadGirl-
Посмотреть сообщение
Run Time Error 19 Fixed See Here

http://forums.volt-host.com/index.php?topic=167.0
For that i see he is doing homehost, not hosted on volt-host atm
Reply
#8

Doesnt matter about this now its done, Im asking now about audio:

Quote:

Fixed it thx, now im using in my map
pawn Code:
Radio[0][playerid] = Audio_PlayStreamed(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1283516",false,false,false);

As im aware there is no requirement to use audio plugin on 0.3d, what do I have to change with that code so it plays with the 0.3d function insted of audio plugin?

Reply
#9

now for the 0.3d the audi can be:
new float:p[3];
GetPlayerPos(playerid, p[0], p[1], p[2]);
PlayAudioStreamForPlayer(playerid, url, p[0], p[1], p[2], 50, 0)
Reply
#10

Quote:
Originally Posted by kikito
Посмотреть сообщение
now for the 0.3d the audi can be:
new float[3];
GetPlayerPos(playerid, p[0], p[1], p[2]);
PlayAudioStreamForPlayer(playerid, url, p[0], p[1], p[2], 50, 0)
You don't need a position.

pawn Код:
PlayAudioStreamForPlayer(playerid, url);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)