Lewati ke konten utama

164 dokumentasi memiliki tag dengan "vehicle"

Lihat Semua Tag

AddStaticVehicle

Adds a 'static' vehicle (models are pre-loaded for players) to the gamemode.

AddStaticVehicleEx

Adds a 'static' vehicle (models are pre-loaded for players) to the gamemode.

AddVehicleComponent

Adds a 'component' (often referred to as a 'mod' (modification)) to a vehicle.

Car Component IDs

Information about car component IDs, model names, parts, types, supported vehicles and costs.

Component slots

The following car mod types can be used to work with the GetVehicleComponentInSlot function.

Door States

Information about byte size and its corresponding door state bits.

GetVehicleDistanceFromPoint

This function can be used to calculate the distance (as a float) between a vehicle and another map coordinate.

GetVehicleModelInfo

Retrieve information about a specific vehicle model such as the size or position of seats.

GetVehicles

Gets an array variable of the IDs of the created vehicles on the server.

Keadaan Ban

Information tentang ukuran byte dan bit status ban yang sesuai.

Keadaan Panel

Information tentang ukuran byte dan bit status panel yang sesuai.

Light States

Information about byte size and its corresponding light state bits.

ManualVehicleEngineAndLights

Use this function before any player connects (OnGameModeInit) to tell all clients that the script will control vehicle engines and lights.

OnPlayerEnterVehicle

Callback Ini di panggil ketika pemain mulai memasuki kendaraan, artinya pemain belum berada di kendaraan pada saat callback ini dipanggil.

OnTrailerUpdate

This callback is called when a player sent a trailer update.

OnUnoccupiedVehicleUpdate

This callback is called when a player's client updates/syncs the position of a vehicle they're not driving.

OnVehicleDamageStatusUpdate

This callback is called when a vehicle element such as doors, tyres, panels, or lights change their damage status.

OnVehicleDeath

This callback is called when a vehicle is destroyed - either by exploding or becoming submerged in water.

OnVehicleMod

This callback is called when a vehicle is modded.

OnVehiclePaintjob

This callback is called when a player previews a vehicle paintjob inside a mod shop.

OnVehicleRespray

This callback is called when a player exits a mod shop, even if the colors weren't changed.

OnVehicleStreamIn

This callback is called when a vehicle is streamed to a player's client.

OnVehicleStreamOut

This callback is called when a vehicle streams out for a player's client (it's so far away that they can't see it).

Paintjobs

Paint Jobs that can be applied on specific vehicles.

RepairVehicle

Fully repairs a vehicle, including visual damage (bumps, dents, scratches, popped tires etc.).

Status Kerusakan

Informasi tentang status kerusakan pada kendaraan dan contoh kodenya.

UpdateVehicleDamageStatus

Sets the various visual damage statuses of a vehicle, such as popped tires, broken lights and damaged panels.