OOP Scripting
OOP Scripting
Contents
Entity
These apply to all of the Entity types documented below
- freezePosition (Set)
- position (Get/Set)
- rotation (Get/Set)
- IsNull (Get)
- exists (Get)
- type (Get)
- transparency (Get/Set)
- dimension (Get/Set)
- invincible (Get/Set)
- collisionless (Get/Set)
- model (Get)
- delete (Method)
- movePosition (Method)
- moveRotation (Method)
- attachTo (Method)
- detach (Method)
- createParticleEffect (Method)
- setSyncedData (Method)
- getSyncedData (Method)
- resetSyncedData (Method)
- hasSyncedData (Method)
- setData (Method)
- getData (Method)
- resetData (Method)
- hasData (Method)
Client (Player)
- address (Get)
- armor (Get/Set)
- aimingPoint (Get)
- collisionless (Get/Set)
- currentWeapon (Get)
- dead (Get)
- dimension (Get/Set)
- health (Get/Set)
- inFreefall (Get)
- invincible (Get/Set)
- isInCover (Get)
- seatbelt (Get/Set)
- isCEFenabled (Get)
- sendChatMessage (Method)
- sendNotification (Method)
- sendPictureNotification (Method)
- setIntoVehicle (Method)
- warpOutOfVehicle (Method)
- setSkin (Method)
- setDefaultClothes (Method)
- playAnimation (Method)
- playScenario (Method)
- stopAnimation (Method)
- setClothes (Method)
- setAccessories (Method)
- getClothesDrawable (Method)
- getClothesTexture (Method)
- getAccessoryDrawable (Method)
- getAccessoryTexture (Method)
- clearAccessory (Method)
- giveWeapon (Method)
- getWeaponAmmo (Method)
- setWeaponAmmo (Method)
- removeWeapon (Method)
- removeAllWeapons (Method)
- setWeaponTint (Method)
- setWeaponComponent (Method)
- removeWeaponComponent (Method)
- hasGotWeaponComponent (Method)
- GetAllWeaponComponents (Method)
- kick (Method)
- ban (Method)
- freeze (Method)
- kill (Method)
- detonateStickies (Method)
- resetNametag (Method)
- resetNametagColor (Method)
- spectate (Method)
- stopSpectating (Method)
- resetNametag (Method)
- triggerEvent (Method)
- downloadData (Method)
Vehicle
- bulletproofTyres (Get/Set)
- customPrimaryColor (Get/Set)
- customSecondaryColor (Get/Set)
- dashboardColor (Get/Set)
- displayName (Get)
- enginePowerMultiplier (Get/Set)
- engineTorqueMultiplier (Get/Set)
- health (Get/Set)
- livery (Get/Set)
- modColor1 (Get/Set)
- modColor2 (Get/Set)
- neonColor (Get/Set)
- numberPlateStyle (Get/Set)
- numberPlate (Get/Set)
- pearlescentColor (Get/Set)
- primaryColor (Get/Set)
- secondaryColor (Get/Set)
- siren (Get)
- specialLight (Get/Set)
- traileredBy (Get)
- trimColor (Get/Set)
- tyreSmokeColor (Get/Set)
- wheelColor (Get/Set)
- wheelType (Get/Set)
- windowTint (Get/Set)
- maxOccupants (Get)
- maxSpeed (Get)
- maxAcceleration (Get)
- maxTraction (Get)
- maxBraking (Get)
- locked (Get/Set)
- Class (Get)
- ClassName (Get)
- occupants (Get)
- breakDoor (Method)
- breakWindow (Method)
- closeDoor (Method)
- fixDoor (Method)
- fixTyre (Method)
- fixWindow (Method)
- getExtra (Method)
- getMod (Method)
- getNeons (Method)
- isDoorBroken (Method)
- isDoorOpen (Method)
- isTyrePopped (Method)
- isWindowBroken (Method)
- openDoor (Method)
- popTyre (Method)
- removeMod (Method)
- repair (Method)
- setExtra (Method)
- setMod (Method)
- setNeons (Method)
Blip
- color (Get/Set)
- name (Get/Set)
- position (Get/Set)
- scale (Get/Set)
- shortRange (Get/Set)
- sprite (Get/Set)
- transparency (Get/Set)
Marker
Pickup
TextLabel
N/A
Collision Shapes
- containsEntity (Get)
- dimension (Get/Set)
- getAllEntities (Get)