Пређи на главни садржај

Означена су 164 документа означени са "vehicle"

Погледај све ознаке

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.

Damage Status

Information about vehicle damage status and sample code.

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.

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

Ова функција се позива када играч почне да улази у возило, што значи да играч још увек није у возилу у тренутку када се функција позива.

OnPlayerExitVehicle

Ова функција се позива када играч почне да излази из возила.

OnTrailerUpdate

Ова повратна функција се позива када играч пошаље ажурирање приколице.

OnUnoccupiedVehicleUpdate

Ова функција се позива када клијент играча ажурира/синхронизује позицију возила које не управља.

OnVehicleDamageStatusUpdate

Ова функција се позива када се статус оштећења елемената возила као што су врата, гуме, панели или светла промени

OnVehicleDeath

Ова повратна функција се позива када возило буде уништено - било експлозијом или потапањем у воду.

OnVehicleMod

Ова повратна функција се позива када се возило модификује.

OnVehiclePaintjob

ва повратна функција се позива када играч прегледа боју на возилу у радњи за модификацију.

OnVehicleRespray

Ова повратна функција се позива када играч изађе из радње за модификацију, чак и ако боје нису промењене.

OnVehicleSirenStateChange

Ова повратна функција се позива када се сирена на возилу укључи или искључи.

OnVehicleSpawn

Ова повратна функција се позива када се возило респаунује.

OnVehicleStreamIn

Ова повратна функција се позива када се возило стримује на клијент играча.

OnVehicleStreamOut

Ова повратна функција се позива када се возило стримује изван домета клијента играча (превише је далеко да би га видео).

Paintjobs

Paint Jobs that can be applied on specific vehicles.

Panel States

Information about byte size and its corresponding panel state bits.

RepairVehicle

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

Tire States

Information about byte size and its corresponding tire state bits.

UpdateVehicleDamageStatus

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

Vehicle Color IDs

As of SA-MP 0.3x, the following information is outdated. Vehicle colour IDs from 128 to 255 have been intentionally replaced with new colours. Check the second picture for the up to date colours for 0.3x.