SA-MP Forums Archive
Dynamic Include - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dynamic Include (/showthread.php?tid=127107)



Dynamic Include - Daren_Jacobson - 11.02.2010

It is simple I want to be able to include code into the script at runtime (it grabs filenames for SQL) It does't matter if you can't unload it, I can live with that, I am thinking this might use extensive use of #emit or a plugin, just not sure. (all functions in these will be public, and will be called with CallRemoteFunction)

Thank you.


Re: Dynamic Include - Daren_Jacobson - 12.02.2010

The bumper car has bumped my thread.


Re: Dynamic Include - dice7 - 12.02.2010

Only via plugin. Pawn is static


Re: Dynamic Include - Daren_Jacobson - 12.02.2010

Will it be able to be called by CallRemoteFunction? if so would it be as simple as finding a way for my plugin to dynamically include something(Do you know how to do this)?

or will i have to re AmxLoad them after changing the natives array?


Re: Dynamic Include - Daren_Jacobson - 15.02.2010

I set up a plugin that allows me to call functions from a DLL, now I just need to be able to make that function call functions from my script. ><