how can you add fov xyz at osiris?
viewmodel_offset_x
viewmodel_offset_y
viewmodel_offset_z
is this possible to add? (on osiris)
sure
void Misc::customViewmodel() noexcept
{
if (config->misc.CustomViewModel) {
if (!localPlayer)
return;
static ConVar* view_x = interfaces->cvar->findVar("viewmodel_offset_x");
static ConVar* view_y = interfaces->cvar->findVar("viewmodel_offset_y");
static ConVar* view_z = interfaces->cvar->findVar("viewmodel_offset_z");
static ConVar* sv_minspec = interfaces->cvar->findVar("sv_competitive_minspec");
*(int*)((DWORD)&sv_minspec->onChangeCallbacks + 0xC) = 0;
sv_minspec->setValue(0);
view_x->setValue(config->misc.viewmodel_x);
view_y->setValue(config->misc.viewmodel_y);
view_z->setValue(config->misc.viewmodel_z);
}
}
@Cyk-Fad
void Misc::customViewmodel() noexcept
and it shouldn't be like that?
void Misc::customViewmodel(UserCmd* cmd) noexcept
and how i add this (this change ingame not)
@Florian9900
Look Hooks.cpp and paste this
Misc::CustomViewmodel(cmd);
and how i add this (this change ingame not)
it could be better in visual tab)
what in the hell did I do wrong here, won't save at all
they have to be the same
"viewmodel_x", "Custom Viewmodel X"
those arent the same so the cheat doesnt read it
pls someone make pr of this
Most helpful comment
void Misc::customViewmodel() noexcept
{
}