SetCameraGoggleEffect

From Multi Theft Auto: Wiki
Revision as of 18:05, 7 November 2010 by Snert (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function allows you to set the camera's current goggle effect. This means you can activate nightvision or infrared effects by script ==Syntax=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function allows you to set the camera's current goggle effect. This means you can activate nightvision or infrared effects by script

Syntax

bool setCameraGoggleEffect ( string goggleEffect )

Required Arguments

  • goggleEffect: The goggle effect you wish to set
  • normal: No camera goggle effect
  • nightvision: Nightvision camera
  • thermalvision: Infrared camera

Returns

Returns true if the effect was set correctly, false otherwise.

Example

--TODO

See Also