AHK error

specialshit

Well-Known Member
Joined
Oct 5, 2016
Messages
47
Likes
0
Points
21
#1
I am doing an aimbot for lagshot based in AHK. I get this error:

https://www.upload.ee/image/7119616/source.png

With this:

GetWeaponStackID(){
If(!SAMP())
return false
return readMemory(hGTA, mainCPED + OFFSET_WEAPON_ID)
}

Anyone one know how to fix it?
 

Momo92

Active Member
Joined
Aug 21, 2013
Messages
42
Likes
0
Points
56
#2
What library are you using? You probably have to specify what kind of value you want to read from memory or at least the size.
 
Top