Client Functions
From Liberty Unleashed Wiki
This is a list of client-side Squirrel functions available in Liberty Unleashed and Vice Unleashed. For a list of server-side functions, check here.
If you want to request a new function for scripting, please use this page.
Camera Functions
Checkpoint Functions
- Checkpoint.Colour
- Checkpoint.ID
- Checkpoint.Local
- Checkpoint.Pos
- Checkpoint.Radius
- Checkpoint.Type
- Checkpoint.VirtualWorld
- FindCheckpoint
Control Functions
- BindKey
- GetKeyStatus
- IsMouseCursorShowing
- GetMouseCursorPos
- SetMouseCursorPos
- ShowMouseCursor
- ToggleCameraMovement
- UnbindKey
GUI Functions
Browser Functions
- GUIBrowser
- GUIBrowser.Active
- GUIBrowser.Initialize
- GUIBrowser.Pos
- GUIBrowser.ReadOnly
- GUIBrowser.Size
- GUIBrowser.Visible
Button Functions
- GUIButton
- GUIButton.Alpha
- GUIButton.Colour
- GUIButton.Flags
- GUIButton.FontName
- GUIButton.FontSize
- GUIButton.FontTags
- GUIButton.ID
- GUIButton.Pos
- GUIButton.Remove
- GUIButton.SetCallbackFunc
- GUIButton.Size
- GUIButton.Text
- GUIButton.TextColour
- GUIButton.Visible
Checkbox Functions
- GUICheckbox
- GUICheckbox.Alpha
- GUICheckbox.Checked
- GUICheckbox.ID
- GUICheckbox.Pos
- GUICheckbox.Remove
- GUICheckbox.Size
- GUICheckbox.Visible
Editbox Functions
- GUIEditbox
- GUIEditbox.Active
- GUIEditbox.Alpha
- GUIEditbox.Colour
- GUIEditbox.Flags
- GUIEditbox.FontName
- GUIEditbox.FontSize
- GUIEditbox.FontTags
- GUIEditbox.ID
- GUIEditbox.MaskInput
- GUIEditbox.Pos
- GUIEditbox.Remove
- GUIEditbox.Text
- GUIEditbox.TextAlignment
- GUIEditbox.TextColour
- GUIEditbox.Transparent
- GUIEditbox.Visible
- GUIEditbox.Width
Label Functions
- GUILabel
- GUILabel.Alpha
- GUILabel.Colour
- GUILabel.Flags
- GUILabel.FontName
- GUILabel.FontSize
- GUILabel.FontTags
- GUILabel.ID
- GUILabel.Pos
- GUILabel.Remove
- GUILabel.Size
- GUILabel.Text
- GUILabel.TextAlignment
- GUILabel.TextColour
- GUILabel.Transparent
- GUILabel.Visible
Layer Functions
Memobox Functions
- GUIMemobox
- GUIMemobox.AddColouredLine
- GUIMemobox.AddLine
- GUIMemobox.Alpha
- GUIMemobox.Clear
- GUIMemobox.Colour
- GUIMemobox.Flags
- GUIMemobox.FontName
- GUIMemobox.FontSize
- GUIMemobox.FontTags
- GUIMemobox.ID
- GUIMemobox.Lines
- GUIMemobox.Pos
- GUIMemobox.ReadOnly
- GUIMemobox.Remove
- GUIMemobox.Size
- GUIMemobox.TextAlignment
- GUIMemobox.TextColour
- GUIMemobox.Transparent
- GUIMemobox.Visible
Progress Bar Functions
- GUIProgressBar
- GUIProgressBar.Alpha
- GUIProgressBar.EndColour
- GUIProgressBar.MaxValue
- GUIProgressBar.ID
- GUIProgressBar.Pos
- GUIProgressBar.Remove
- GUIProgressBar.Size
- GUIProgressBar.StartColour
- GUIProgressBar.Thickness
- GUIProgressBar.Value
- GUIProgressBar.Visible
Sprite Functions
- GUISprite
- GUISprite.Colour
- GUISprite.ID
- GUISprite.Pos
- GUISprite.Rotation
- GUISprite.RotationCentre
- GUISprite.Visible
Window Functions
- GUIWindow
- GUIWindow.AddChild
- GUIWindow.Alpha
- GUIWindow.Colour
- GUIWindow.ID
- GUIWindow.Moveable
- GUIWindow.Pos
- GUIWindow.Remove
- GUIWindow.Size
- GUIWindow.Titlebar
- GUIWindow.TitleText
- GUIWindow.Transparent
- GUIWindow.Visible
Message Functions
Misc Functions
- GetBodyPartName
- GetDistrictName
- GetGroundZLevel
- GetHUDEnabled
- GetHUDItemEnabled
- GetWeaponName
- SetHUDEnabled
- SetHUDItemEnabled
- SetNametagDrawDistance
- ScreenPosToWorld
- WorldPosToScreen
- IsLineOfSightClear
Object Functions
Pickup Functions
Player Functions
- FindLocalPlayer
- FindPlayer
- Player.Angle
- Player.Armour
- Player.Cash
- Player.Class
- Player.Colour
- Player.Frozen
- Player.Health
- Player.ID
- Player.Immune
- Player.Island
- Player.Marker
- Player.Name
- Player.Ping
- Player.Pos
- Player.RemoveLimb
- Player.Score
- Player.Skin
- Player.Spawn
- Player.Team
- Player.Train
- Player.Vehicle
- Player.Velocity
- Player.VirtualWorld
- Player.WantedLevel
- Player.Weapon
- Player.WeaponAmmo
- Player.WeaponState
Script Functions
Sound Functions
- FindSound
- PlayFrontEndSound
- PlayFrontEndTrack
- PlaySuspectLastSeen
- Sound.Close
- Sound.Open
- Sound.Play
- Sound.Pause
- Sound.Stop
- StopFrontEndTrack
Spawn Functions
- FindSpawnClass
- SpawnClass.Angle
- SpawnClass.Colour
- SpawnClass.GetWeapon
- SpawnClass.GetWeaponAmmo
- SpawnClass.ID
- SpawnClass.Pos
- SpawnClass.Skin
- SpawnClass.SpawnScreen
- SpawnClass.Team
Sphere Functions
- FindSphere
- Sphere.Colour
- Sphere.ID
- Sphere.Local
- Sphere.Pos
- Sphere.Radius
- Sphere.Type
- Sphere.VirtualWorld
Timer Functions
Util Functions
Vehicle Functions
- FindVehicle
- GetVehicleIDFromName
- GetVehicleName
- Vehicle.Airborne
- Vehicle.Angle
- Vehicle.Colour1
- Vehicle.Colour2
- Vehicle.Driver
- Vehicle.EngineDamage
- Vehicle.EngineState
- Vehicle.Gear
- Vehicle.GetAddon
- Vehicle.Health
- Vehicle.ID
- Vehicle.LightState
- Vehicle.Locked
- Vehicle.Model
- Vehicle.Pos
- Vehicle.Radio
- Vehicle.Siren
- Vehicle.Velocity
- Vehicle.VirtualWorld
- Vehicle.Wrecked