HelpChams Internal.

Posts 1–4 of 4 · Page 1 of 1
Chams Internal.
Boys I Just Wanna Check I Have The Right Indexs Here

Code:
// CMAT SYSTEM...
	IMaterial* FindMaterial(char const* pMaterialName, const char *pTextureGroupName, bool complain = true, const char *pComplainPrefix = NULL)
	{
		typedef IMaterial*(__thiscall* oFindMaterial)(PVOID, char const*, char const*, bool, char const*);
		return getvfunc< oFindMaterial >(this, 84)(this, pMaterialName, pTextureGroupName, complain, pComplainPrefix);
	}

	IMaterial*	CreateMaterial(const char *pMaterialName, KeyValues *pVMTKeyValues)
	{
		typedef IMaterial* (__thiscall* oCreateMaterial)(PVOID, const char *, KeyValues*);
		return getvfunc<oCreateMaterial>(this, 83)(this, pMaterialName, pVMTKeyValues);
	}
// CVRenderView
	void SetBlend(float alpha)
	{
		typedef void(__thiscall* oDrawModelExecute)(PVOID, float);
		return getvfunc< oDrawModelExecute >(this, 4)(this, alpha);
	}

	void SetColorModulation(float const* colors)
	{
		typedef void(__thiscall* oDrawModelExecute)(PVOID, float const*);
		return getvfunc< oDrawModelExecute >(this, 6)(this, colors);
	}

thanks in advance.
Uhm... you could just test them?
god dammit. i was meaning are all of them wrong or are some wrong or are all wrong and what indexes do i need. would i just randomly ask this if i didn't already test it.
1 week has passed and no further replies have been made by the OP. Assuming solved.

/Closed.
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?