ElijahCHEATS
New member
- Joined
- Jul 24, 2018
- Messages
- 3
- Reaction score
- 1
Please give me source code for no reload c++
user88 said:U just have to kill a spider, it will drop sauce code noreload c++
// by luxdav - ugbase.eu
[DISABLE]
00740450:
fmul dword ptr [00858B3C]
fmul dword ptr [esp+1C]
00740460:
fmul dword ptr [eax+2C]
[ENABLE]
00740450:
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
00740460:
nop
nop
nop
[ENABLE]
007428E6:
nop
nop
nop
007428B0:
nop
nop
nop
[DISABLE]
007428E6:
dec [esi+0C]
007428B0:
mov [esi+08],eax
Seems like you misread it twice. No Reload != Infinite Ammo.luxdav said:
Seems like you misread it twice. No Reload != Infinite Ammo.luxdav said:
0x32789 said:[quote pid='113401' dateline='1532653213']
y0mikeSeems like you misread it twice. No Reload != Infinite Ammo.luxdav said:
No reload can be done by checking if weaponstate == reloading, if it is, force it to weaponstate_ready
0x32789 said:where is weapon state?
y0mike said:0x32789 said:where is weapon state?
CWeapon + 4
eWeaponSlot selfSlot = pPedSelf->GetCurrentWeaponSlot();
CWeapon *cWep = pPedSelf->GetWeapon(selfSlot);
cWep->SetState
if (set.noreload)
{
eWeaponSlot selfSlot = pPedSelf->GetCurrentWeaponSlot();
CWeapon *cWep = pPedSelf->GetWeapon(selfSlot);
if (cWep->GetState() == WEAPONSTATE_RELOADING)
{
cWep->SetState(WEAPONSTATE_READY);
}
}