Scripting/Client/Functions/SetFollowCamera
true = keep the normal follow-the-ped camera (mouse look) although the engine would switch to its fixed falling camera - used while swimming.
Syntax
SetFollowCamera(bool)Arguments
- bool value
Example
function onScriptLoad()
{
SetFollowCamera( true );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- GetScreenWidth
- WorldPosToScreen
- ScreenPosToWorld
- GetGroundZLevel
- GetGroundZLevelForPos
- GetGroundZLevelForPosLoad
- Draw3DText
- Draw3DSprite
- Draw3DTextWorld
- Draw3DSpriteWorld
- SetCameraMatrix
- SetCameraTarget
Section: Screen, world and camera
Categories: Client functions | Screen, world and camera