Scripting/Server/Functions/ToggleImprovedCarCam
(v0.2.9-r3+) Switches the improved vehicle camera on or off. It is the GTA III vehicle camera of the ModernCarCam mod adapted for Liberty United (credits in the release): a smoother follow camera with free mouse look around the car (look behind / left / right glide instead of snapping), a camera that tilts with the slope of the road, a stretch on acceleration, a wider field of view at speed, a reverse look-behind and fewer clipping glitches. null applies to every player, including those who join later; a Player (or id) changes only that player. PC only - Android keeps the game camera. The setting resets when the player disconnects.
Syntax
ToggleImprovedCarCam(player|null, bool)Arguments
- any player|null
- bool value
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "toggleimprovedcarcam" )
{
ToggleImprovedCarCam( 0, true );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- ToggleRealMoney
- SetTime
- SetTimeLock
- SetTimeScale
- SetWeatherLock
- GetTime
- SetWeather
- SetVirtualWorldTime
- SetVirtualWorldWeather
- SetGamespeed
- SetGravity
- SetPlayerBlipStyle
Section: World settings
Categories: Server functions | World settings