-
-
Notifications
You must be signed in to change notification settings - Fork 474
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Milestone
Description
We should add a new Lua function, setVolumetricShadowsEnabled
, on the client-side only.
bool setVolumetricShadowsEnabled(bool state)
Returns true if successful, false otherwise
The volumetric shadows option can already be changed by the client in MTA Settings > Video > Volumetric Shadows.
Any server using this function will override the client's choice until they leave the server, upon which it will revert to the client's original choice.
implementation example
CGameSettings* pGameSettings = m_pGame->GetSettings();
pGameSettings->SetVolumetricShadowsEnabled(true/false);
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers