Code:
#RequireAdmin
#include "detour.au3"
#include "IDChanger_Funcs.au3"
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
ToolTip("Run S4League",0,0)
ProcessWait("S4Client.exe")
ToolTip("",0,0)
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("ID Changer", 450, 400, 192, 124)
$Input1 = GUICtrlCreateInput("", 130, 16, 121, 21)
$Input2 = GUICtrlCreateInput("", 274, 16, 121, 21)
$Input3 = GUICtrlCreateInput("", 130, 48, 121, 21)
$Input4 = GUICtrlCreateInput("", 274, 48, 121, 21)
$Input5 = GUICtrlCreateInput("", 130, 80, 121, 21)
$Input6 = GUICtrlCreateInput("", 274, 80, 121, 21)
$Input7 = GUICtrlCreateInput("", 130, 112, 121, 21)
$Input8 = GUICtrlCreateInput("", 274, 112, 121, 21)
$Input9 = GUICtrlCreateInput("", 130, 144, 121, 21)
$Input10 = GUICtrlCreateInput("", 274, 144, 121, 21)
$Input11 = GUICtrlCreateInput("", 130, 176, 121, 21)
$Input12 = GUICtrlCreateInput("", 274, 176, 121, 21)
$Input13 = GUICtrlCreateInput("", 130, 208, 121, 21)
$Input14 = GUICtrlCreateInput("", 274, 208, 121, 21)
$Input15 = GUICtrlCreateInput("", 130, 240, 121, 21)
$Input16 = GUICtrlCreateInput("", 274, 240, 121, 21)
$Input17 = GUICtrlCreateInput("", 130, 272, 121, 21)
$Input18 = GUICtrlCreateInput("", 274, 272, 121, 21)
$Input19 = GUICtrlCreateInput("", 130, 304, 121, 21)
$Input20 = GUICtrlCreateInput("", 274, 304, 121, 21)
$Label1 = GUICtrlCreateLabel("Credits Sycode'", 360, 336, 80, 17)
$Button1 = GUICtrlCreateButton("Set", 8, 336, 75, 25)
$Label2 = GUICtrlCreateLabel("-->", 258, 16, 13, 17)
$Label3 = GUICtrlCreateLabel("-->", 258, 48, 13, 17)
$Label4 = GUICtrlCreateLabel("-->", 258, 80, 13, 17)
$Label5 = GUICtrlCreateLabel("-->", 258, 112, 13, 17)
$Label6 = GUICtrlCreateLabel("-->", 258, 144, 13, 17)
$Label7 = GUICtrlCreateLabel("-->", 258, 176, 13, 17)
$Label8 = GUICtrlCreateLabel("-->", 258, 208, 13, 17)
$Label19 = GUICtrlCreateLabel("-->", 258, 240, 13, 17)
$Label20 = GUICtrlCreateLabel("-->", 258, 272, 13, 17)
$Label21 = GUICtrlCreateLabel("-->", 258, 304, 13, 17)
$Label9 = GUICtrlCreateLabel("Weapon 1", 8, 16, 121, 21)
$Label10 = GUICtrlCreateLabel("Weapon 2", 8, 48, 121, 21)
$Label11 = GUICtrlCreateLabel("Weapon 3", 8, 80, 121, 21)
$Label12 = GUICtrlCreateLabel("Hair", 8, 112, 121, 21)
$Label13 = GUICtrlCreateLabel("Face", 8, 144, 121, 21)
$Label14 = GUICtrlCreateLabel("Shirt", 8, 176, 121, 21)
$Label15 = GUICtrlCreateLabel("Pants", 8, 208, 121, 21)
$Label16 = GUICtrlCreateLabel("Gloves", 8, 240, 121, 21)
$Label17 = GUICtrlCreateLabel("Shoes", 8, 272, 121, 21)
$Label18 = GUICtrlCreateLabel("Pet", 8, 304, 121, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
start()
EndSwitch
WEnd
Func start()
$list = ProcessList("s4client.exe")
Dim $Handle = OpenProcess($PROCESS_ALL_ACCESS, 1, $list[1][1])
Dim $ItemSlot_Array_Add = IDChanger_Init($Handle, "3DCE90")
Dim $Weap_01 = IDChanger_Add_Item($Handle, $ItemSlot_Array_Add[0], GUICtrlRead($Input1), GUICtrlRead($Input2) ,0, 1)
Dim $Weap_02 = IDChanger_Add_Item($Handle, $ItemSlot_Array_Add[0], GUICtrlRead($Input3), GUICtrlRead($Input4) ,0, 1)
Dim $Weap_03 = IDChanger_Add_Item($Handle, $ItemSlot_Array_Add[0], GUICtrlRead($Input5), GUICtrlRead($Input6) ,0, 1)
Dim $Hair = IDChanger_Add_Item($Handle, $ItemSlot_Array_Add[0], GUICtrlRead($Input7), GUICtrlRead($Input8) ,0, 1)
Dim $Face = IDChanger_Add_Item($Handle, $ItemSlot_Array_Add[0], GUICtrlRead($Input9), GUICtrlRead($Input10) ,0, 1)
Dim $Shirt = IDChanger_Add_Item($Handle, $ItemSlot_Array_Add[0], GUICtrlRead($Input11), GUICtrlRead($Input12) ,0, 1)
Dim $Pants = IDChanger_Add_Item($Handle, $ItemSlot_Array_Add[0], GUICtrlRead($Input13), GUICtrlRead($Input14) ,0, 1)
Dim $Gloves = IDChanger_Add_Item($Handle, $ItemSlot_Array_Add[0], GUICtrlRead($Input15), GUICtrlRead($Input16) ,0, 1)
Dim $Shoes = IDChanger_Add_Item($Handle, $ItemSlot_Array_Add[0], GUICtrlRead($Input17), GUICtrlRead($Input18) ,0, 1)
Dim $Pet = IDChanger_Add_Item($Handle, $ItemSlot_Array_Add[0], GUICtrlRead($Input19), GUICtrlRead($Input20) ,0, 1)
CloseHandle($Handle)
MsgBox(0,"","reload server")
EndFunc