HELP ANTIAFK CODE SendFakeOnfootSyncData

SAMPHACKINGISRAEL

New member
Joined
Jun 17, 2015
Messages
1
Reaction score
0
First sorry for my english.
And I'm new in SOBEIT and broken recite a little, I learned not too
And I want to help with a specific code and can be also possible guides you publish your codes more clear to me NOOBS accurate pictures so I think that will be more prepared in C ++ SOBEIT


And I would be happy if someone publishes an accurate guide SPAPER accurate guide :somuchwin:

A. A and therefore OpcodeXe king
A. A and therefore 0x688 king
A. A and therefore P3ti king


HELP ANTIAFK CODE SendFakeOnfootSyncData

dumb_menu.cpp

Code:
void antiafk()
{
	while (cheat_state->_generic.antiafk)
	{

		float fPos[3];
		float speed[3];
		fPos[0] = pPedSelf->GetPosition()->fX;
		fPos[1] = pPedSelf->GetPosition()->fY;
		fPos[2] = pPedSelf->GetPosition()->fZ;
		speed[2] = 0.3;
		SendFakeOnfootSyncData(fPos, pPedSelf->GetHealth(), 0, speed, 128);
		Sleep(60000);
	}
}


dumb_meun.h
Code:
void antiafk();


demb_menu.cpp
Code:
case ID_CHEAT_ANTIAFK:
			return cheat_state->_generic.antiafk;


demb_menu.cpp
Code:
case ID_CHEAT_ANTIAFK:
		{
			cheat_state->_generic.antiafk ^= 1;
			CreateThread(0, 0, (LPTHREAD_START_ROUTINE)antiafk, 0,
				0, 0);
			break;
		}


demb_menu.cpp
Code:
#define ID_CHEAT_ANTIAFK        2015

cheat.h
Code:
struct cheat_state_generic
{
	int		hp_cheat;
	int            antiafk
	int		money;
	int		weapon;
	int		map;
	int		map_vehicles;
	int		menu;
	int		menu_mousecontrol;
	int		spoof_weapon;	/* set to the weapon type id */
	int		vehicles_unlock;
	int		vehicles_warp_invert;
	int		vehicles_freeze;
	int		vehicles_warpinside;
	int		weapon_disable;

	int		onfoot_data;
	int		aim_data;
	int		vehicle_data;
	int		passenger_data;
	int		statsupd;
	int		spec_data;

	int		teletext;

	DWORD	rejoinTick;
	DWORD	join_serverTick;

	int		pickuptexts;
	int		objecttexts;

	bool	car_jacked;
	DWORD	anti_carjackTick;
	short	car_jacked_last_vehicle_id;
	bool	got_vehicle_id;
	float	car_jacked_lastPos[3];

	struct vehicle_info * pVehicleExit_Last;

	int		interior_patch_enabled;

	int		nocols_enabled;			/* vehicle collision */
	int		nocols_walls_enabled;	/* wall/object collision */

	int		cheat_panic_enabled;

	int		unrelatedToAnything;
};
 
Top