Monday, 11 November 2019

Hooking problem teds template

Public void QuickSpawnItem(int item, optional int stack); // RVA: 100F2929C Offset: F2929C void (*Player_QuickSpawnItem) (void *player, int item) = (void (*) (void *, int))getRealOffset(0x100F2929C); void (*Player_Update) (void *player); void _Player_Update (void *player){ int item = [[switches getValueFromSwitch:@"Spawn Item:"] intValue]; if([switches isSwitchOn:@"Spawn Item:"]){ Player_QuickSpawnItem(player, item); } Player_Update(player); } void setup() { //ADD YOUR HACKS UNDER THIS [switches addSwitch:@"Spawn Item" description:@"Put item ID!]; dose anyone know why this is not working, it compiles i dont have any errors. The game doesn’t crash when i turn the switch on with my value it doesn’t crash nothing happens i am in the right class

from iOSGods RSS Feed https://ift.tt/2KbPKTj
v

No comments:

Post a Comment