Results 1 to 10 of 10
  1. #1
    King-Orgy's Avatar
    Join Date
    Dec 2010
    Gender
    female
    Posts
    119
    Reputation
    15
    Thanks
    628
    My Mood
    Angelic

    Draw Player Weapon Icons

    Code:
    struct weapon_t
    {
    	char        *aimAssistRangeScale;
    	char        z_crap[40];
            float       Unknow;
     	char       z_crap2[752];
    	qhandle_t WeaponShader;
    };
    Code:
    weapon_t*  (__cdecl *GetWeapon)(int num) = (weapon_t* (__cdecl *)(int))0x50F140;//dword_C5C218 +8
    usage

    Code:
    			weapon_t* weapon = (weapon_t*)GetWeapon( clientInfo[i].Weapon );
    Code:
    if(weapon->WeaponShader)//weapon shader is valid don't draw a NULL shader
    						{
    							CEngineDrawing.CG_DrawPic ( ScreenX  , ScreenY, 15-DisW, 20-DisH, VisibleColorEnemy, weapon->WeaponShader );
    						
    						}
    same way can be done with other entities/pickups/ammos of course

    pic:
    https://img192.imageshack.us/img192/4175/shot0012fq.jpg

  2. The Following 5 Users Say Thank You to King-Orgy For This Useful Post:

    cardoow (12-17-2010),Hell_Demon (12-19-2010),Matroix73 (08-18-2013),rovald (12-18-2010),shaunm2 (12-18-2010)

  3. #2
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,057
    Reputation
    1007
    Thanks
    2,013
    This is helpful, thank you.

    Ex Middleman

  4. #3
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Why not click the "Thanks" button

  5. #4
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    Quote Originally Posted by [WhA]4FunPlayin View Post
    Why not click the "Thanks" button
    The world doesn't circle around a number listed under your name on a hacking site.
    www.YouTube.com/MpKiller100

  6. #5
    cardoow's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Posts
    215
    Reputation
    28
    Thanks
    766
    My Mood
    Amazed
    Quote Originally Posted by AZUMIKKEL View Post
    The world doesn't circle around a number listed under your name on a hacking site.
    it sure does!

  7. #6
    King-Orgy's Avatar
    Join Date
    Dec 2010
    Gender
    female
    Posts
    119
    Reputation
    15
    Thanks
    628
    My Mood
    Angelic
    Quote Originally Posted by iferhat View Post
    lololol......
    you should enable your brain first before you posts in my thread

  8. The Following User Says Thank You to King-Orgy For This Useful Post:

    Hell_Demon (12-19-2010)

  9. #7
    Skyline.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    10,160
    Reputation
    416
    Thanks
    1,614
    sorry i'm learning from all your threads,
    but,
    "Draw Player Weapon Icons" does that mean that when we make our hacks we can tell what gun their using?...or is it shown via a icon of the gun they are using?..

    sorry i am learning


  10. #8
    JamesA1994's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    The dark side
    Posts
    1,703
    Reputation
    271
    Thanks
    529
    My Mood
    Psychedelic
    I really have a lot to learn...
    Nice stuff.
    CoD Minion: Jan 13th 2011 to April 11 2011
    MMORPG Minion Since: March 28th 2011 to April 11 2011

    Don't be afraid to rep, you aren't loosing anything!
    Don't forget your P&Q's. Press the thanks button if someone has helped.
    jamesa1994@hotmail.com

  11. #9
    David's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Guantanamo Bay
    Posts
    4,613
    Reputation
    405
    Thanks
    1,198
    My Mood
    Aggressive
    Thanks for this mate.

  12. #10
    King-Orgy's Avatar
    Join Date
    Dec 2010
    Gender
    female
    Posts
    119
    Reputation
    15
    Thanks
    628
    My Mood
    Angelic
    Quote Originally Posted by toobanooba View Post
    sorry i'm learning from all your threads,
    but,
    "Draw Player Weapon Icons" does that mean that when we make our hacks we can tell what gun their using?...or is it shown via a icon of the gun they are using?..

    sorry i am learning
    it just draw there gun as a icon of course the same way can be done via strings but i just used icons looks better imo.