Skip to content
Guest Big Announcement

coding the the tweak.xm

Featured Replies

i did the tutorial and it didnt really work can someone help me

 

Solved by Diversityy

  • Replies 31
  • Views 5.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • Author

need more information

This was my tweak but it didn't work

%hook Weapon

 

- (void)setAmmo:(int)fp8 {

%orig(fp8);

fp8=999999;

}

 

- (void)setClip:(int)fp8 {

%orig(fp8);

fp8=999999;

}

 

- (BOOL)isDualWield {

return true;

}

%end

@@DiDA

  • Author

it didnt thats why i need help

  • Author

no spaces

 

%hook Weapon
- (void)setAmmo:(int)ammo 
{
%orig(999999);
}

-(void)setClip:(int)clip
{
%orig(999999);
}

- (BOOL)setDualWield
{
return TRUE;
}

Try that.

 


what about the %end

%hook Weapon

- (void)setAmmo:(int)ammo

{

%orig(999999);

}

 

-(void)setClip:(int)clip

{

%orig(999999);

}

 

- (BOOL)setDualWield

{

return TRUE;

}

%end

Updated by Salman1700

  • Author

Just try it. I put spaces before the. (void)

Didn't work

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.