Re: [AHK] samp UdfEx (0.3.7)
:stoned:
thanks [member=24017]democrazy[/member] and [member=26902]luxdav[/member]democrazy link said:here's my
Code:getActorModelId() { if(!checkHandles()) return -1 dwCPedPtr := readDWORD(hGTA, ADDR_CPED_PTR) if(ErrorLevel) { ErrorLevel := ERROR_READ_MEMORY return -1 } if(!dwCPedPtr) return -1 dwVal := readMem(hGTA, dwCPedPtr + 0x22, 2, "UShort") if(ErrorLevel) { ErrorLevel := ERROR_READ_MEMORY return -1 } return dwVal }
:stoned: