Lua crosshairID

Cant get crosshair id ?
player:GetProp(“m_iCrosshairID”) seems not to work (returning nil everytime)
Any tips ?

afaik it isnt a netvar but an offset (m_iCrosshairId = 0x11838, got it from hazedumper/csgo.hpp at master · frk1/hazedumper · GitHub)

to access it, you need to read the memory at the address [LocalPlayerAddress + 0x11838]
you can do that with ffi, using ffi.cast()

Gl

2 Likes