Americas Army 2:ServerSetINISetting

From UnKnoWnCheaTs Game Hacking Wiki
Jump to: navigation, search

By: NetzTeil

Source: http://www.unknowncheats.me/forum/2-x-coding-and-tutorials/64629-americas-army.html


here you have a functional "ServerSetINISetting" with which one can do a lot son, a small example, I show you, but the rest you have to find it myself out, americas army goes on all versions. I like to share with you the vehicle.

prameters

AController* MyC				= NULL;
AHumanController* MyHC			= NULL;


function

void ServerSetINISetting(FString sINIValue)
{
	UFunction* pServerSetINISetting = FIND_FUNCTION("AGP.HumanController.ServerSetINISetting");

	AHumanController_execServerSetINISetting_Parms Parms;
	Parms.bWeaponSlotRulesChanged = 1;
	Parms.C = MyC;
	Parms.sINIValue = sINIValue;

	MyHC->ProcessEvent(pServerSetINISetting, &Parms, NULL);
}


example

ServerSetINISetting(TEXT("AGP_GameMultiPlayer bMPCheatsEnabled 1"));
			ServerSetINISetting(TEXT("Pawn MaxFallSpeed 9999999"));
			ServerSetINISetting(TEXT("Pawn JumpZ 4500")); 
			ServerSetINISetting(TEXT("AGP_GameMultiPlayer bMPCheatsEnabled 0"));


Credits Pwnzer have much fun with it

PS: does it work only with servers honor none