csgo update 30/03/2018
IK THAT THERES ALREADY A THREAD WITH THIS INFORMATIONS, BUT THIS IS JUST A THREAD WITH THE THINGS MORE COMPACTED FOR PASTERS AND STUFF
fix for ayyware and pastes due to the new update
studiohdr_t* GetStudiomodel(const model_t* mod)
{
typedef studiohdr_t*(__stdcall* oGetStudiomodel)(const model_t*);
return call_vfunc(this, 32)(mod);
}
void GetModelMaterials(const model_t *model, int count, IMaterial** ppMaterial)
{
typedef void *(__thiscall* oGetModelMaterials)(PVOID, const model_t*, int, IMaterial**);
call_vfunc(this, 19)(this, model, count, ppMaterial);
}
struct ModelRenderInfo_t
{
Vector origin;
Vector angles;
char pad[0x4]; // added this
void *pRenderable; // this
const void *pModel; // and this
const matrix3x4 *pModelToWorld;
const matrix3x4 *pLightingOffset;
const Vector *pLightingOrigin;
int flags;
int entity_index;
int skin;
int body;
int hitboxset;
unsigned short instance;
ModelRenderInfo_t()
{
pModelToWorld = NULL;
pLightingOffset = NULL;
pLightingOrigin = NULL;
}
};
it worked on my pasta 🙂
|