- Documentation
- Client functions
- setCameraDrunkLevel
Function
setCameraDrunkLevel
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)