SA-MP Forums Archive
Can't add includes in Hosted server. - 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: Can't add includes in Hosted server. (/showthread.php?tid=616726)



Can't add includes in Hosted server. - Gotham - 09.09.2016

Hi guys,

I don't know if I have posted in wrong section but my Server which is hosted does not run the includes,

how Can I make it run an admin filterscript?


Re: Can't add includes in Hosted server. - SickAttack - 09.09.2016

You don't need to upload the includes in the folder "pawno/include" to your host, when you compile your script, includes are added to the gamemode's amx file (the ones you added within the source code).

As for the filterscripts, upload the .amx files to the folder "filterscripts" on your host. Open server.cfg, and add the name of the filterscripts by the line that starts with "filterscripts" (e.g. filterscripts fsdebug elevator). Each filterscript, separate them by a space.

In worst case (not really), if the line filterscripts isn't found in server.cfg, just add it below the line gamemode0


Re: Can't add includes in Hosted server. - Gotham - 10.09.2016

Ok But right now I can't connect to it

Edit: Now it is okay.