SA-MP Forums Archive
Run time error 19: "File or function is not found" - 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: Run time error 19: "File or function is not found" (/showthread.php?tid=349811)



Run time error 19: "File or function is not found" - Shinyo'K - 10.06.2012

I have installed crashdetect and launch the server. The problem is "Removebuildingforplayer" file or function is not found. I don't think there's a plugin for that, I tried to search it on ****** too. Do you have any more suggestion?



Here is a little bit more of information. I tried to host on my computer and it worked just fine no errors no nothing. but when I tried to host on volt-host that error shows up


Re: Run time error 19: "File or function is not found" - Karl[NDZ] - 10.06.2012

Do you mean this? https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer


Re: Run time error 19: "File or function is not found" - edwardy - 10.06.2012

Yes, I mean that. I installed crashdetect plugin to see whats the problem. And that error appeared. It says "RemoveBuildingForPlayer" file or function is not found. I believe there's no plugin needed for it right? I tried to host it on my computer and it worked fine but when I hosted it on volt-host that error showed up. P.S I'm Shinyo'K


Re : Run time error 19: "File or function is not found" - ricardo178 - 10.06.2012

You should put that RemoveBuildingForPlayer codes inside OnPlayerConnect looping.. Are them there?


Re: Run time error 19: "File or function is not found" - Shinyo'K - 10.06.2012

I don't really understand that . Ricardo check your mail .


Re: Run time error 19: "File or function is not found" - edwardy - 10.06.2012

Well, I'm not really good in this stuff. My friend, Shinyo should probably pm you by now for help. I hope you can help us. We're desperate enough to keep this server up and then, we can hire a scripter.


Re : Run time error 19: "File or function is not found" - ricardo178 - 10.06.2012

Just cut all the code that is RemoveBuildingForPlayer, and paste it under OnPlayerConnect, after the first braken({)...


Re: Run time error 19: "File or function is not found" - Shinyo'K - 10.06.2012

After fix

[03:22:08] Number of vehicle models: 0
[03:22:08] Script[gamemodes/LSS-RP.amx]: Run time error 19: "File or function is not found"
[03:22:08] [debug] RemoveBuildingForPlayer
[03:22:08] [debug] The following natives are not registered:
[03:22:08] [debug] Run time error 19: "File or function is not found"
[03:22:08] [debug] RemoveBuildingForPlayer
[03:22:08] [debug] The following natives are not registered:
[03:22:08] [debug] Run time error 19: "File or function is not found"

Came out


Re: Run time error 19: "File or function is not found" - ReVo_ - 10.06.2012

Server version?


Re: Run time error 19: "File or function is not found" - Shinyo'K - 10.06.2012

0.3e the server .