Which is essentially what i'm trying to do from tutorials across Google- but I'm going to have to take a shot in the dark here.
GetTagPos gets the enemy's coords
I don't know what the others do.
If you could tell me, then they might be the addresses I need for the aimbot.
What I was meaning to do was somehow get an enemy into an iw5m private match so I can find their memory addresses- but your spawn bots doesn't work in private matches.
...And i'm too lazy to open up my own temp server.
GetTagPosition: Returns the 3D-World position of an entity's bone. This can be anything from the head to the toe. (There are 20 bones to choose from, common one used is j_head (You need a short value for that so use RegisterTag) )
CG_Trace: Used for an aimbot with autowall. Provide it with a trace_t structure and it calculates the angle between two points with other things like if the object is solid, liquid etc. Mainly just the fraction (Trace_T->Fraction >= 0.97f) is used to determine if an enemy is visible. (Well if a 3D-World position vector is visible)
DrawEngineText: Used to draw text on the screen. Not all hacks use D3D (Direct 3D) to display text on the screen. Hacks like mwxplayer uses the engine to render the text.
RegisterFont: A font must be used with DrawEngineText but you usually only have the name of a font. RegisterFont takes that name and returns a pointer to a font. (I like ui_smallfont and devsmallfont)
The Following User Says Thank You to Kenshin13 For This Useful Post: