opd_s spoofEntities_t = { 0x9B8930, TOC };
void(*spoofEntities)(int a1, int a2, int a3) = (void(*)(int, int, int))&spoofEntities_t;
void spoofvehicle(){
spoofEntities(GAMEPLAY::GET_HASH_KEY("ADDER"),GAMEPLAY::GET_HASH_KEY("T20"),1);
}
case 1:
spoofvehicle();
attachVehicleplayer(GAMEPLAY::GET_HASH_KEY("ADDER"), selectedPlayer);
break;
Fix u self
void(*spoofEntities)(int a1, int a2, int a3) = (void(*)(int, int, int))&spoofEntities_t;
void spoofvehicle(){
spoofEntities(GAMEPLAY::GET_HASH_KEY("ADDER"),GAMEPLAY::GET_HASH_KEY("T20"),1);
}
case 1:
spoofvehicle();
attachVehicleplayer(GAMEPLAY::GET_HASH_KEY("ADDER"), selectedPlayer);
break;
Fix u self