Results 1 to 9 of 9
  1. #1
    LuaHax's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Location
    US, CA
    Posts
    284
    Reputation
    10
    Thanks
    935
    My Mood
    Amused

    Thumbs up Custom coded team based chams by LuaHax!

    Hello fellow hackers,

    I've coded my own custom chams that I use personally. I've decided to share it with you guys. I know it's basic but they're chams and it's a short lua script so you guys shouldn't lag to much.
    To enable type lua_openscript_cl <Whatever you saved it as>.lua
    To enable the wallhack itself (once you have ran the script) you type "luahax_esp_chams 1".
    Have fun wallhacking :)
    If this helped you then click the thanks button.

     
    CreateClientConVar("render_test",0,true, false)





    function LuaHax.Material()



    local BaseInfo = {

    ["$basetexture"] = "models/debug/debugwhite",

    ["$ignorez"] = 1

    }



    local mat = CreateMaterial( "LuaHax", "VertexLitGeneric", BaseInfo )



    return mat



    end



    function LuaHax.Chams()

    local losttarget = false

    if(GetConVarNumber("luahax_esp_chams") == 0 ) then

    return true

    elseif(GetConVarNumber("luahax_esp_chams") == 1) then



    for k, e in ipairs( Enemys ) do

    if(e == nil ) then

    local losttarget = true

    end

    if(!e:IsValid()) then return end

    if(losttarget == false) then

    if ( e:Alive() ) then

    cam.Start3D( EyePos(), EyeAngles() )

    if(!LuaHax.IsVisible(e)) then

    local mat = LuaHax.Material()

    render.SuppressEngineLighting( true )

    render.SetColorModulation( (Cheat_EnemyIV.r/255 ), (Cheat_EnemyIV.g/255), ( Cheat_EnemyIV.b/255 ) )

    SetMaterialOverride( mat )

    e:DrawModel()

    render.SuppressEngineLighting( false )

    render.SetColorModulation( (Cheat_EnemyIV.r/255 ), (Cheat_EnemyIV.g/255), ( Cheat_EnemyIV.b/255 ) )

    SetMaterialOverride( mat )

    e:DrawModel()

    elseif(LuaHax.IsVisible(e) ) then

    local mat = LuaHax.Material()

    render.SuppressEngineLighting( true )

    render.SetColorModulation( (Cheat_EnemyV.r/255 ), (Cheat_EnemyV.g/255), ( Cheat_EnemyV.b/255 ) )

    SetMaterialOverride( mat )

    e:DrawModel()

    render.SuppressEngineLighting( false )

    render.SetColorModulation( (Cheat_EnemyV.r/255 ), (Cheat_EnemyV.g/255), ( Cheat_EnemyV.b/255 ) )

    SetMaterialOverride( mat )

    e:DrawModel()

    end

    cam.End3D()

    end

    end

    SetMaterialOverride( nil )

    end

    end

    for k,e in ipairs( Friends ) do

    if(e == nil ) then

    local losttarget = true

    end

    if(!e:IsValid()) then return end

    if(losttarget == false) then

    if ( e:Alive() ) then

    cam.Start3D( EyePos(), EyeAngles() )

    if(!LuaHax.IsVisible(e)) then

    local mat = LuaHax.Material()

    render.SuppressEngineLighting( true )

    render.SetColorModulation( (Cheat_TeamIV.r/255 ), (Cheat_TeamIV.g/255), ( Cheat_TeamIV.b/255 ) )

    SetMaterialOverride( mat )

    e:DrawModel()

    render.SuppressEngineLighting( false )

    render.SetColorModulation( (Cheat_TeamIV.r/255 ), (Cheat_TeamIV.g/255), ( Cheat_TeamIV.b/255 ) )

    SetMaterialOverride( mat )

    e:DrawModel()

    elseif(LuaHax.IsVisible(e) ) then

    local mat = LuaHax.Material()

    render.SuppressEngineLighting( true )

    render.SetColorModulation( (Cheat_TeamV.r/255 ), (Cheat_TeamV.g/255), ( Cheat_TeamV.b/255 ) )

    SetMaterialOverride( mat )

    e":DrawModel()

    render.SuppressEngineLighting( false )

    render.SetColorModulation( (Cheat_TeamV.r/255 ), (Cheat_TeamV.g/255), ( Cheat_TeamV.b/255 ) )

    SetMaterialOverride( mat )

    e:DrawModel()

    end

    cam.End3D()

    end

    end

    SetMaterialOverride( nil )

    end

    end



    timer.Create("fix",1,1,function()

    hook.Add("RenderScreenspaceEffects","re",LuaHax.Ch ams)

    end)

    Last edited by Hunter; 01-18-2016 at 03:01 PM.

  2. #2
    leyhorse's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    104
    Reputation
    10
    Thanks
    6
    My Mood
    Sneaky
    Thanks, I would assume setting thr command to 0 would properly disable the chams?

  3. #3
    LuaHax's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Location
    US, CA
    Posts
    284
    Reputation
    10
    Thanks
    935
    My Mood
    Amused
    @leyhorse Correct. Thanks for the support.

  4. #4
    Liquidsocks's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    ▲▲▲ in the triforce
    Posts
    140
    Reputation
    10
    Thanks
    100
    The thing is, this won't even work.
    Code:
    CreateClientConVar("render_test",0,true, false)
    
    
    if(GetConVarNumber("luahax_esp_chams") == 0 ) then
    
    return true
    
    elseif(GetConVarNumber("luahax_esp_chams") == 1) then
    9/11 top kek

    Last edited by Liquidsocks; 03-31-2014 at 12:02 PM.

  5. The Following 3 Users Say Thank You to Liquidsocks For This Useful Post:

    abc123def456 (03-31-2014),Kellyseveride (04-04-2014),TroubleMakers (04-01-2014)

  6. #5
    TheyCallMeDaz's Avatar
    Join Date
    May 2013
    Gender
    female
    Location
    Ukraine
    Posts
    367
    Reputation
    58
    Thanks
    279
    My Mood
    Yeehaw
    I laughed at how you claimed this was "custom coded" please stop saying that you coded things, this is so unoptimized and awful that no one should use it in the first place, you didn't even use the code tag correctly.

  7. The Following 2 Users Say Thank You to TheyCallMeDaz For This Useful Post:

    suchisgood (04-01-2014),TroubleMakers (04-01-2014)

  8. #6
    abc123def456's Avatar
    Join Date
    Oct 2013
    Gender
    female
    Posts
    61
    Reputation
    10
    Thanks
    93
    Quote Originally Posted by TheyCallMeDaz View Post
    I laughed at how you claimed this was "custom coded" please stop saying that you coded things, this is so unoptimized and awful that no one should use it in the first place, you didn't even use the code tag correctly.
    Shhh, the code is a secret, it's a spoiler.

  9. The Following 2 Users Say Thank You to abc123def456 For This Useful Post:

    suchisgood (04-01-2014),TroubleMakers (04-01-2014)

  10. #7
    leyhorse's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    104
    Reputation
    10
    Thanks
    6
    My Mood
    Sneaky
    Wait is this even more crappy then the wiki's version? -_-

  11. #8
    Trollaux's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    2,074
    Reputation
    137
    Thanks
    792
    So you basically copypasted the source for chams that are broke that I posted and changed the name of some values. Nice.
    d e a d b o y s
    Quote Originally Posted by Dave84311 View Post
    What do you call a troll with shitty jokes?
    Trollaux
    Quote Originally Posted by Kyeran View Post
    Foot job with lots of oil.
    Quote Originally Posted by Kyeran View Post
    If she's 12, I'm 12.

  12. #9
    snipwnage3's Avatar
    Join Date
    Jul 2015
    Gender
    female
    Posts
    75
    Reputation
    10
    Thanks
    84
    Quote Originally Posted by Trollaux View Post
    So you basically copypasted the source for chams that are broke that I posted and changed the name of some values. Nice.
    Omg hi daddy.

Similar Threads

  1. [Release] ___æð Coding Team æð___ Server Hack v0.2.1
    By linuxandmegasrulz in forum Combat Arms Hacks & Cheats
    Replies: 71
    Last Post: 10-24-2009, 02:21 PM
  2. MPGH CODING TEAM
    By whitten in forum Combat Arms Discussions
    Replies: 28
    Last Post: 09-10-2009, 10:50 PM
  3. MPGH coding team?
    By ***JAMES*** in forum CrossFire Hacks & Cheats
    Replies: 24
    Last Post: 07-12-2009, 11:22 PM
  4. How to customize/make your own chams?
    By jeremylaw3 in forum Combat Arms Hacks & Cheats
    Replies: 7
    Last Post: 04-21-2009, 10:50 AM
  5. [QUESTION] Are retail codes pattern based?
    By iHack in forum WarRock - International Hacks
    Replies: 14
    Last Post: 08-04-2007, 03:51 PM