Include codes from HTTP? - 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: Include codes from HTTP? (
/showthread.php?tid=605325)
Include codes from HTTP? -
Metharon - 17.04.2016
How can you load some pawn codes from a website? i know is a php function, but is possible to include a file .inc from a website ?
Re: Include codes from HTTP? -
iKevin - 17.04.2016
What do you mean bruh
Re: Include codes from HTTP? -
J0sh... - 17.04.2016
Quote:
Originally Posted by KevinExec
What do you mean bruh
|
He's asking if he can #include stuff from a website. So he always has the latest version.
Ot:
Not that I know of.
Re: Include codes from HTTP? -
yugecin - 17.04.2016
No, unless you create something that downloads it before you compile (like a precompiler).
Re: Include codes from HTTP? -
introzen - 18.04.2016
Shortly described, everything from an include is converted to pieces of memory once you compile your gamemode. The only thing dynamically external you may have except for the gamemode is filterscripts, since plugins needs to be included within the gamemode.
If you would like to keep a filterscript updated at all times by downloading it from a website then:
Yes. It is possible, with the right skills and knowledge.