GetCameraGoggleEffect

From Multi Theft Auto: Wiki
Revision as of 18:00, 7 November 2010 by Snert (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function returns what goggle effect is currently affecting the camera. ==Syntax== <syntaxhighlight lang="lua"> int getCameraGoggleEffect ( ) </syntaxhighlight> ===Retur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function returns what goggle effect is currently affecting the camera.

Syntax

int getCameraGoggleEffect (  )

Returns

Returns a string indicating the current camera goggle effect. Their meanings can be seen below.

  • normal: No camera goggle effect
  • nightvision: Nightvision camera
  • thermalvision: Infrared camera

Example

-- TODO

See Also