unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Other FPS Games > Crossfire

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2009, 10:51 AM
Dave Dave is offline
Junior Member
 
Join Date: Oct 2009
Posts: 11
Default [Code] Class ESP

was bored when i made this but still sort of useful (not really lol)

PHP Code:
            if( g_Cvar.GetBoolean"vis_class" ) )
            {
                
char szMaterialName256 ] = { };

                
g_Engine.GetClient()->GetModelLT()->GetFilenames002pPlayer->ObjectszMaterialName256 );

                
char *szClassName = ((char *)szMaterialName) + strlen"MODELS\\CHARACTER\\" );

                for( 
int i 0strlenszClassName ); i++ )
                {
                    if( 
szClassName[i] == '_' )
                    {
                        
szClassName[i] = '\0';

                        break;
                    }
                }

                
g_Engine.RenderTextEnginelow_pos_2d.xlow_pos_2d.20, (bIsVisible) ? drawColorFront drawColorBack,
                    
szClassNametruefalse );
            } 
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
class, code, esp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 03:58 PM.