This is a test forum with a static import from forum.open.mp it will not be automatically synchronised so any posts you make here will be lost when we migrate fully.
@oukibt
oukibt
Hi I am trying to call a function at an address from a plugin but I am getting a crash.
PLUGIN_EXPORT int PLUGIN_CALL AmxLoad(AMX* amx) { ? ? VirtualUnlock((LPVOID)0x48B5B0, 0x20); ? ? ((int(__fastcall*)(char*))0x48B5B0)("query"); ? ? return 1; }
https://cdn.discordapp.com/attachments/582915540285128725/862083931314585630/unknown.png I think, this is GetConsoleVariableInt function
Please sign up or log in to reply