local sampev = require("samp.events")
local memory = require("memory")
memory.write(0x70476E, 0x0B32, 4, true); memory.write(0x70476A, 0xE9575653, 4, true) --NoPostFx
memory.write(0x53EA95, 0xB7C7F0, 4, true); memory.setfloat(0xB7C7F0, 201, true) --Drawdist
memory.setuint8(getModuleHandle("samp.dll") + 0x9D170, 0xC3, true) --FpsUnlock
memory.copy(0x4EB9A0, memory.strptr("\xC2\x04\x00"), 3, true) --NoRadio
memory.copy(0x866C94, memory.strptr("$%d"), 6, true) --NoMoneyZero
memory.write(0x52228E, 0xB6EC1C, 4, true) -- SensitivityFix
memory.write(5497324, 235, 1, true) --NoTargetBlip
memory.write(8931716, 0, 4, true) --FixBlackRoads
memory.setuint8(0x5909AB, 0x1, true) --FastLoad
function main()
callFunction(0x7469A0, 0, 0)
end
function sampev.onServerMessage(color, text)
if text:find("Чтобы завести транспорт") or text:find("Чтобы закрыть транспорт") then
sampSendChat("/engine")
end
end
function sampev.onShowTextDraw(id, data)
data.text = data.text:gsub("~w~galaxy%-rpg%.online~n~", "")
return {id, data}
end
function sampev.onDisplayGameText(style, time, text)
return {4, 2000, text}
end