void reset_globals()
{
	reset_skin_globals();

	reset_vehicle_globals();

	reset_teleporter_globals();

	reset_weapon_globals();

	reset_world_globals();

	activeLineIndexMain			=
	activeLineIndexPlayer		=
	activeLineIndexWantedFreeze	=
	frozenWantedLevel			=	0;

	featurePlayerInvincible			=
	featurePlayerNeverWanted		=
	featurePlayerIgnoredByPolice			=
	featurePlayerIgnoredByAll =
	featurePlayerUnlimitedAbility	=
	featurePlayerNoNoise			=
	featurePlayerFastSwim			=
	featurePlayerFastRun			=
	featurePlayerSuperJump			=
	featurePlayerInvisible			=
	featurePlayerDrunk =
	featurePlayerRadio				=
	featureRadioAlwaysOff =
	featureMiscLockRadio			=
	featureMiscHideHud				=	
	featureWantedLevelFrozen		=	false;

	featurePlayerResetOnDeath = true;
	featureBlockInputInMenu = true;
	featureVehInvulnIncludesCosmetic = true;

	featurePlayerInvincibleUpdated =
	featurePlayerNeverWantedUpdated =
	featurePlayerIgnoredByPoliceUpdated =
	featurePlayerIgnoredByAllUpdated =
	featurePlayerNoNoiseUpdated =
	featurePlayerFastSwimUpdated =
	featurePlayerFastRunUpdated =
	featureRadioAlwaysOffUpdated =
	featurePlayerRadioUpdated =
	featurePlayerDrunkUpdated =
	featurePlayerInvisibleUpdated = true;

	set_status_text("Reset All Settings");

	DWORD myThreadID;
	HANDLE myHandle = CreateThread(0, 0, save_settings_thread, 0, 0, &myThreadID);
	CloseHandle(myHandle);

}
Beispiel #2
0
void reset_globals()
{
	reset_skin_globals();

	reset_vehicle_globals();

	reset_teleporter_globals();

	reset_weapon_globals();

	reset_world_globals();

	reset_misc_globals();

	activeLineIndexMain			=
	activeLineIndexPlayer		=
	activeLineIndexWantedFreeze	=
	frozenWantedLevel			=	0;

	featurePlayerDrunk =
	featurePlayerInvincible			=
	featurePlayerNeverWanted		=
	featurePlayerIgnoredByPolice			=
	featurePlayerIgnoredByAll =
	featurePlayerUnlimitedAbility	=
	featurePlayerNoNoise			=
	featurePlayerFastSwim			=
	featurePlayerFastRun			=
	featurePlayerSuperJump			=
	featurePlayerInvisible			=
	featureWantedLevelFrozen		=	false;

	featurePlayerInvincibleUpdated =
	featurePlayerNeverWantedUpdated =
	featurePlayerIgnoredByPoliceUpdated =
	featurePlayerIgnoredByAllUpdated =
	featurePlayerNoNoiseUpdated =
	featurePlayerFastSwimUpdated =
	featurePlayerFastRunUpdated =
	featurePlayerDrunkUpdated =
	featurePlayerInvisibleUpdated = true;

	set_status_text("Reset All Settings");

	DWORD myThreadID;
	HANDLE myHandle = CreateThread(0, 0, save_settings_thread, 0, 0, &myThreadID);
	CloseHandle(myHandle);

}