Saltar al contenido principal

142 documentos etiquetados con "vehicle"

Ver Todas las Etiquetas

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.

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.

ManualVehicleEngineAndLights

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

OnPlayerEnterVehicle

Este callback se llama cuando un jugador comienza a entrar a un vehículo, o sea que el jugador aún no estará en el vehículo cuando este callback se llame.

OnUnoccupiedVehicleUpdate

Este callback se llama cuando el cliente de un jugador actualiza/sincroniza la posición de un vehículo que él no está conduciendo.

OnVehicleDamageStatusUpdate

Este callback se llama cuando un elemento de vehículo como las puertas, llantas, paneles, o luces cambiar su estado de daño.

OnVehicleDeath

Este callback se llama cuando un vehículo es destruido - ya sea explotando o siendo sumergido en el agua.

OnVehicleMod

Este callback se llama cuando un vehículo es tuneado.

OnVehiclePaintjob

Se llama cuando un jugador obtiene una vista previa de una capa de pintura adentro de un taller de modificación.

OnVehicleRespray

Este callback se llama cuando un jugador sale de un taller de modificación, sin importar si los colores no fueron cambiados.

OnVehicleStreamIn

Se llama cuando un vehículo es cargado (se hace visible) en el cliente de un jugador.

OnVehicleStreamOut

Este callback se llama cuando un vehículo es dejado de cargar (deja de ser visible) por el cliente de un jugador.

RepairVehicle

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

UpdateVehicleDamageStatus

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