07.01.2010, 16:43
Thanks that cleared up a lot, I think I have a very good understanding of how it works now.
It's a lot of work to figure this out for all native functions and get it to work though.
Back to what my topic is on about:
How cool would it be if SA-MP would call all it's callbacks in a plugin and allow us to call all natives in itself without all the work we discussed above.
My idea was to make SA-MP require a plugin that exports those callbacks and we could be given a lib file and a header with all natives to link against.
The AMX could then be provided as a plugin for people still using PAWN so nothing changes for them.
It's a lot of work to figure this out for all native functions and get it to work though.
Back to what my topic is on about:
How cool would it be if SA-MP would call all it's callbacks in a plugin and allow us to call all natives in itself without all the work we discussed above.
My idea was to make SA-MP require a plugin that exports those callbacks and we could be given a lib file and a header with all natives to link against.
The AMX could then be provided as a plugin for people still using PAWN so nothing changes for them.