Disable main menu

borsuczyna

Активный
Автор темы
29
149
How to disable main menu? I tried like that
Lua:
local ffi = require("ffi")
ffi.cast("void (__thiscall *)(int8_t)", 0x57BA57)(6)
but it crashes game, MTA:SA code:
C:
MemSet((void*)0x57BA57, 0x90, 6);