Run time error 19: "File or function is not found"
#1

Hey guys. Well, with my old server, I've never gotten this error at all. Now when I tried to run it on the 0.3 beta client, in the console I see

Code:
[14:52:54] Script[gamemodes/Race.amx]: Run time error 19: "File or function is not found"
I've tried going into my server regardless of that error, and it doesn't load it (Not surprised). Has anyone had this problem yet?

Thanks.
-Hayden
Reply
#2

Do you use any plugin?
Reply
#3

You forgot to put the plugins to your server directory - same thing I forgot.
Reply
#4

We did have the Plugins Folder in the server folder at the time - Error.
I took it out, took the includes from \Pawno\include out, removed the Server.cfg line, and I still get the error.

The Plugins that I did have, were xStreamer, and whatever folder 'SDK' is.
Edit: Also, a friend of mine, who has a completely different script (But same Streamer) has the same error. No errors/warnings in his script.
Edit #2: For discussions sake - I/We also tried to remove the streamer itself, though, no avail.
Reply
#5

Did you re-compile using the 0.3 includes?
Did you remove the functions that were deprecated for 0.3 (see http://forum.sa-mp.com/index.php?topic=119943.0)?
Reply
#6

I re-compiled with the 0.3, yep
I went through each sentence, and fixed what said should be fixed if it was there like
SetDisabledWeapons
EnableTirePopping

and I removed OnPlayerPrivmsg

____
I saw 'If you use vehicle modifying in your script, that isn't done by a mod shop;
You may need to re-apply paintjobs, possibly attached items (such as spoilers) at OnVehicleStreamIn'. What does it mean?

I have where I press a button, and it fully mods out a car (Server-crash proof, so that's not a problem). Is there something I have to change there?
For example
Code:
GameTextForPlayer(playerid,"~w~Mr.Hayden's ~r~signature ~w~style.", 1000, 1);
ChangeVehicleColor(vehicleid, 0, 0 ); // Changing Vehicle Color
PlayerPlaySound(playerid, 1137, 0.0, 0.0, 0.0); // Plays a sound
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); // N.O.S
do I need to change 'AddVehicleComponent' to something else?

My friends script has a nos addon to any car if you do /nos aswell.
Reply
#7

Nobody else besides two people had this problem? Ugh
Reply
#8

Update .NET framework or put

main()
{
}
in your script fixed it for me sorry if it dont help.
Reply
#9

check if you got SeifVehicles or YSF, that helped me
Reply
#10

if you use mysql don't forget to put "libmysql.dll" in same folder with samp.exe (i got this error cuz i forget to add it )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)