Types
Jump to navigation
Jump to search
This page hosts a list of used data types for scripting.
Abstract Base Types
These types aren't used directly in Scripting. They just represent abstract types used behind the scenes.
Surface
- Anything that is drawable (RenderTarget
,Texture
)
Type Inheritance
These types are used in Scripting.
Shared
Client
- client representationShared
Effect
- effect (FX)Shared
Element
- elementShared
Transformable
- (2D / 3D) positionable elementShared
Blip
- blipShared
Entity
- entityClient
Building
- building (GTA Building)Shared
Physical
- object that interacts with physicsClient
Object
- placeable objectClient
Ped
- pedestrianClient
Player
- player
Shared
Vehicle
- any vehicleServer
Train
- train
Client
Marker
- markerShared
Pickup
- pickup
Shared
Event
- eventShared
Font
- fontShared
Matrix4x4
- matrix of 4 by 4 numbersShared
ReflectedFunction
- reflected functionShared
Resource
- resourceClient
Sound
Shared
Stream
Client
Surface
Client
RenderTarget
- client representation - derives fromSurface
Client
Texture
- texture - derives fromSurface
Shared
Timer
- timerShared
Vec2
- vector of 2 numbersShared
Vec3
- vector of 3 numbersServer
World
- the world
Blip : Transformable : Element
Building : Entity : Transformable : Element
Civilian : Ped : Physical : Entity : Transformable : Element
Marker : Transformable : Element
Object : Physical : Entity : Transformable : Element
Pickup : Transformable : Element
Player : Ped : Physical : Entity : Transformable : Element
Train : Vehicle : Physical : Entity : Transformable : Element
Type List
This is a list of all types used by GTAC scripting.
Type | Inherited Type | Endpoint |
---|---|---|
Blip | Transformable | Shared |
Building | Entity | Client-side |
Civilian | Ped | Client-side |
Client | - | Shared |
Effect | - | Client-side |
Element | - | Shared |
Entity | Transformable | Shared |
Event | - | Shared |
Font | - | Client-side |
Marker | Transformable | Client-side |
Matrix4x4 | - | Shared |
Object | Physical | Client-side |
Ped | Physical | Client-side |
Physical | Entity | Shared |
Pickup | Transformable | Client-side |
Player | Ped | Client-side |
ReflectedFunction | - | Shared |
RenderTarget | - | Client-side |
Resource | - | Shared |
Sound | - | Client-side |
Stream | - | Shared |
Texture | - | Client-side |
Timer | - | Shared |
Train | Vehicle | Server-side |
Transformable | Element | Shared |
Vec2 | - | Shared |
Vec3 | - | Shared |
Vehicle | Phsyical | Shared |
World | - | Server-side |
Previous Versions
Type Civilian
was removed. All functionality from type Civilian
was moved to type Ped
.