Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("ID Changer", 518, 414, 195, 170)
GUISetFont(8, 800, 0, "MS Sans Serif")
GUISetBkColor(0xD7E4F2)
$Group1 = GUICtrlCreateGroup("ID Changer", 48, 24, 257, 257)
$Checkbox1 = GUICtrlCreateCheckbox("Ps-->Taser", 72, 64, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Cs--Crow", 72, 96, 97, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Revo-->Puppy", 72, 128, 97, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Smg-->DhA-41", 72, 160, 97, 17)
$Checkbox5 = GUICtrlCreateCheckbox("Smash-->Laser", 72, 192, 97, 17)
$Checkbox6 = GUICtrlCreateCheckbox("Hg-->Toy Gun", 72, 224, 97, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Change IDs", 56, 288, 91, 41)
$Button2 = GUICtrlCreateButton("Exit", 184, 288, 97, 41)
GUICtrlCreateLabel("Developed by : Primmo", 352, 368, 134, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_ChangeIds() ('Change Ids')
Case $Button2
Exit
EndSwitch
WEnd
Func SetIds()
Start(@WindowsDir & "\IDChanger.ini")
;Weapons!
Set("2000001", "2000008", $PS, 2, "20101", "40001")
Set("2000002", "2000009", $CS, 2, "20201", "40002")
Set("1", "1", $BAT, 1, "20301", "20307")
Set("2010001", "2010009", $SMG, 2, "21101", "40101")
Set("2010002", "2010010", $Revo, 2, "21201", "40102")
Set("2010004", "2010012", $SR, 2, "21601", "40106")
Set("2030001", "2030003", $RG, 2, "23101", "40301")
Set("2010007", "2010014", $HG, 2, "21701", "40107")
End()
MsgBox(0, "Successfully changed", "The Items got saved", 2)
EndFunc ;==>SetIds