Hello
I need some help with this Function
I tried a lot of dialog offsets but they don´t work can anybody fix this function pls
mfg.
I need some help with this Function
Code:
GetDialogText()
{
Process = gta_sa.exe
DllName = samp.dll
Process, Exist, %Process%
PID = %ErrorLevel%
SetFormat, Integer, D
Base := GetDllBase(DllName, PID)
pointer1addr:= Base+0x2180a0
pointer1result := ReadMemory(pointer1addr, "GTA:SA:MP")
pointer2addr:=pointer1result+0x1c
pointer2result := ReadMemory(pointer2addr, "GTA:SA:MP")
text:=ReadMemory_Str(pointer2result,0,PID)
;SendInput tPointer 1: %pointer1addr%=%pointer1result% Pointer 2: %pointer2addr%=%pointer2result% Text: %text%{enter}
SetFormat, Integer, D
return text
}
mfg.