Run time error 19: "File or function is not found" -
Fatboy_Rob - 07.09.2009
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
Re: Run time error 19: "File or function is not found" -
Balon - 07.09.2009
Do you use any plugin?
Re: Run time error 19: "File or function is not found" -
woot - 07.09.2009
You forgot to put the plugins to your server directory - same thing I forgot.
Re: Run time error 19: "File or function is not found" -
Fatboy_Rob - 07.09.2009
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.
Re: Run time error 19: "File or function is not found" -
Calgon - 07.09.2009
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)?
Re: Run time error 19: "File or function is not found" -
Fatboy_Rob - 07.09.2009
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.
Re: Run time error 19: "File or function is not found" -
Fatboy_Rob - 07.09.2009
Nobody else besides two people had this problem? Ugh
Re: Run time error 19: "File or function is not found" -
International - 08.09.2009
Update .NET framework or put
main()
{
}
in your script fixed it for me sorry if it dont help.
Re: Run time error 19: "File or function is not found" -
Angelus~ - 08.09.2009
check if you got SeifVehicles or YSF, that helped me
Re: Run time error 19: "File or function is not found" -
Agent_Baldwin - 08.09.2009
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

)