Exemplo n.º 1
0
 public void SetRenderColor(Color col)
 {
     MemoryAPI.WriteToProcess <char>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_clrRender, (char)col.R);
     MemoryAPI.WriteToProcess <char>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_clrRender + 1, (char)col.G);
     MemoryAPI.WriteToProcess <char>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_clrRender + 2, (char)col.B);
     MemoryAPI.WriteToProcess <char>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_clrRender + 3, (char)col.A);
 }
Exemplo n.º 2
0
        public void RegisterGlowObject(int iGlowIndex, float r, float g, float b, float a, bool bInnerGlow, bool bFullRender = false)
        {
            GlowObjectDefinition_t glow = MemoryAPI.ReadFromProcess <GlowObjectDefinition_t>(Globals._csgo.ProcessHandle, pThis + (iGlowIndex * 0x38));

            glow.fR                    = r / 255f;
            glow.fG                    = g / 255f;
            glow.fB                    = b / 255f;
            glow.fAlpha                = a / 255f;
            glow.m_bInnerGlow          = bInnerGlow;
            glow.bRenderWhenOccluded   = true;
            glow.bRenderWhenUnoccluded = false;
            glow.bFullBloomRender      = bFullRender;
            MemoryAPI.WriteToProcess <GlowObjectDefinition_t>(Globals._csgo.ProcessHandle, pThis + (iGlowIndex * 0x38), glow);
        }
Exemplo n.º 3
0
 public void SetViewAngles(Vector angles)
 {
     MemoryAPI.WriteToProcess <struct_Vector>(Globals._csgo.ProcessHandle, pThis + Globals._signatures.dw_viewangles, angles.ToStruct());
 }
Exemplo n.º 4
0
 public void ForceUpdate()
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + 0x174, -1);
 }
Exemplo n.º 5
0
 public void SetVerifiedUserCmd(int iIndex, CVerifiedUserCmd cmd)
 {
     MemoryAPI.WriteToProcess <CVerifiedUserCmd>(Globals._csgo.ProcessHandle, IntPtr.Add(pThis, ((iIndex) * 0x68) + 0x4), cmd);
 }
Exemplo n.º 6
0
 public void SetSendPacket(bool bSendPacket)
 {
     MemoryAPI.WriteToProcess <bool>(Globals._csgo.ProcessHandle, Globals._csgo.CSGOModules["engine"].BaseAddress + Globals._signatures.dw_bSendPackets, bSendPacket);
 }
Exemplo n.º 7
0
 public void SetFallbackPaintKit(int fallback_skin)
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_nFallbackPaintKit, fallback_skin);
 }
Exemplo n.º 8
0
 public void SetSpotted(bool val)
 {
     MemoryAPI.WriteToProcess <bool>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_bSpotted, val);
 }
Exemplo n.º 9
0
 public void SetFov(int iFov)
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_iFOV, iFov);
 }
Exemplo n.º 10
0
 public void SetInputState(bool enabled)
 {
     MemoryAPI.WriteToProcess <bool>(Globals._csgo.ProcessHandle, pThis + Globals._signatures.dw_inputenabled, enabled);
 }
Exemplo n.º 11
0
 public void SetItemIDHigh(int id)
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_iItemIDHigh, id);
 }
Exemplo n.º 12
0
 public void SetFallbackStatTrak(int stattrak)
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_nFallbackStatTrak, stattrak);
 }
Exemplo n.º 13
0
 public void SetFallbackWear(float wear)
 {
     MemoryAPI.WriteToProcess <float>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_flFallbackWear, wear);
 }
Exemplo n.º 14
0
 public void SetOriginalOwnerXuidHigh(int xuidhigh)
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_OriginalOwnerXuidHigh, xuidhigh);
 }
Exemplo n.º 15
0
 public void SetOriginalOwnerXuidLow(int xuidlow)
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_OriginalOwnerXuidLow, xuidlow);
 }
Exemplo n.º 16
0
 public void PlusAttack()
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, Globals._csgo.CSGOModules["client"].BaseAddress + Globals._signatures.dw_forceattack, 5);
 }
Exemplo n.º 17
0
 public void SetAccountID(int accountid)
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_iAccountID, accountid);
 }
Exemplo n.º 18
0
 public void MinusJump()
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, Globals._csgo.CSGOModules["client"].BaseAddress + Globals._signatures.dw_forceJump, 4);
 }
Exemplo n.º 19
0
 public void SetWearable(int iHandle)
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_hMyWearables, iHandle);
 }
Exemplo n.º 20
0
 public void ClearCallbacks()
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + 0x44 + 0xC, 0);
 }
Exemplo n.º 21
0
 public void SetItemDefinitionIndex(int itemdefiniotion)
 {
     MemoryAPI.WriteToProcess <int>(Globals._csgo.ProcessHandle, pThis + Globals._netvar.m_iItemDefinitionIndex, itemdefiniotion);
 }