- Documentation
- Client functions
- getCameraGoggleEffect
Function
getCameraGoggleEffect
Returns the camera filter: "normal", "nightvision" or "thermalvision".
Syntax
string getCameraGoggleEffect()Differences from MTA:SA
- In MTA:SA this function is server-side only.
In MTA:SA
getCameraGoggleEffect()Returns
The filter.
Example
if getCameraGoggleEffect() ~= "normal" then
setCameraGoggleEffect("normal")
end