Saltar al contenido principal

118 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.

OnVehicleSpawn

Este callback se llama solo cuando el vehículo reaparece! CreateVehicle y AddStaticVehicle(Ex) no van a desencadenar este callback.

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.