ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. setCameraDrunkLevel

Function

setCameraDrunkLevel

ClientCameraIdentical to MTA:SA

Sways the camera as when drunk in the game (0 = none, 255 = strongest). At higher levels the ped controls also lag slightly.

Syntax

bool setCameraDrunkLevel(int drunkLevel)

Arguments

drunkLevelint
Level 0-255.

Returns

true on success.

Example

setCameraDrunkLevel(120)

See also