Illegal Indirection;

Posts 1–6 of 6 · Page 1 of 1
Illegal Indirection;
Help i can't make my base work because of this error..

here's the code where i get my error :

DWORD Wep = *(DWORD*)(*pWeaponMgr + 4*i); //illegal indirection
Quote Originally Posted by blackgaming View Post
Help i can't make my base work because of this error..

here's the code where i get my error :

DWORD Wep = *(DWORD*)(*pWeaponMgr + 4*i); //illegal indirection
Please show us the var's
Is pWeaponMgr defined as a pointer or just used as one?
Is the variable pWeaponMgr or *pWeaponMgr?
if its pWeaponMgr remove the * before pWeaponMgr and it should work. You shouldn't copy and paste.

@blackgaming
remove all '*' on this line
DWORD Wep = *(DWORD*)(pWeaponMgr + 4*i); //illegal indirection
learn c++ plz
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us