-
Автор темы
- #1
Код:
if (Settings::Misc::Ragdoll)
{
if (Interfaces::Engine()->IsConnected() && Interfaces::Engine()->IsInGame())
{
ConVar* pastergay = Interfaces::GetConVar()->FindVar("cl_ragdoll_gravity");
if (pastergay)
{
pastergay->SetValue(1);
}
}
}
else
{
if (Interfaces::Engine()->IsConnected() && Interfaces::Engine()->IsInGame())
{
ConVar* pastergay = Interfaces::GetConVar()->FindVar("cl_ragdoll_gravity");
if (pastergay)
{
pastergay->SetValue(0);
}
}
}