10.04.2013, 18:53
I know it doesn't belong to scripting, but I want to get values from an invoked native from AMX by using a plugin, without using any premade GDKs for example "Invoke" or "sampgdk". I can already invoke natives, set their arguments properly and get its return value, because I already get their pointers during AMXLoad. But if I try to get values from example GetPlayerPos, it will return NULL from its three arguments (x, y, and z). Do you have any clue, how to get its arguments properly?
I would really appreciate some help from you.
Code snippets:
http://pastebin.com/sp9Ycp8D
Best regards
~ BigETI
P.S.: Do not suggest me to use premade GDKs, because I know what I am doing...
I would really appreciate some help from you.
Code snippets:
http://pastebin.com/sp9Ycp8D
Best regards
~ BigETI
P.S.: Do not suggest me to use premade GDKs, because I know what I am doing...