-- Для R1
function setDialogCursorPos(position)
local pDialog = memory.getuint32(samp + 0x21A0B8, true)
local m_pEditbox = memory.getuint32(pDialog + 0x24, true)
memory.setuint8(m_pEditbox + 0x119, position, true)
memory.setuint8(m_pEditbox + 0x11E, position, true)
end
-- Для R3
function setDialogCursorPos(position)
local pDialog = memory.getuint32(samp + 0x26E898, true)
local m_pEditbox = memory.getuint32(pDialog + 0x24, true)
memory.setuint8(m_pEditbox + 0x119, position, true)
memory.setuint8(m_pEditbox + 0x11E, position, true)
end