#RequireAdmin
Opt("TrayAutoPause", 0)
Global $GameFolder = FileSelectFolder("Find the APB Reloaded install folder", "", 0, @programFilesDir)
If FileExists($GameFolder & "\APBGame\Config\APBGame.ini") Then
IniWrite($GameFolder & "\APBGame\Config\APBGame.ini", "APBGame.cRaycastWeapon", "m_fAccuracyRadiusScale", Number(InputBox("Spread Percentage", "Please input the crosshair percentage you wish to have.", "100", " M")) / 100)
Else
MsgBox(0,"Error", "The folder you have selected is not a valid. The program will now close.")
EndIf

