AddStaticVehicle
Adiciona um veículo 'fixo' (modelos são pré-carregados para os jogadores) ao gamemode.
Adiciona um veículo 'fixo' (modelos são pré-carregados para os jogadores) ao gamemode.
Adiciona um veículo 'fixo' (modelos são pré-carregados para os jogadores) ao gamemode.
Adiciona um 'componente' (frequentemente chamado de 'mod' (modificação)) a um veículo.
Anexa uma Text Label 3D a um veículo específico.
Attach an object to a vehicle.
Attach a player object to a vehicle.
Attach a vehicle to another vehicle as a trailer.
Altere a cor primária e secundária de um veículo.
Change a vehicle's primary and secondary colours.
Altere o paintjob de um veículo (para cores normais, consulte ChangeVehicleColor).
Cria um veículo no mundo.
Destroi um veículo.
Detach the connection between a vehicle and its trailer, if any.
Disables collisions between occupied vehicles for a player.
Enable friendly fire for team vehicles.
Get the ID of the vehicle the player is looking at.
Gets the hydra reactor angle of the player's vehicle.
Gets the landing gear state of the current player's vehicle.
Gets the player's last synced trailer ID.
Gets the player's last synced vehicle ID.
Gets the siren state of the player's vehicle.
Get the ID of the vehicle that the player is surfing (stuck to the roof of).
Gets the speed of the player's train.
Esta função obtém o ID do veículo em que o jogador está atualmente.
Descobre em qual assento um jogador está.
Get random colour indexes that are valid for the given vehicle model.
Get the ID of the cab attached to a vehicle.
Gets the vehicle colours.
Retrieves the installed component ID (modshop mod(ification)) on a vehicle in a specific slot.
Find out what type of component a certain ID is.
Retrieve the damage statuses of a vehicle.
Esta função pode ser usada para calcular a distância (como um float) entre um veículo e outra coordenada do mapa.
Get the playerid of the person driving the vehicle.
Get the health of a vehicle.
Gets the hydra reactor angle of the vehicle.
Get the interior id of a vehicle.
Gets the current vehicle landing gear state from the latest driver.
Get the last driver of a vehicle.
Gets the actual rotation matrix of the vehicle.
Obtém o ID do modelo de um veículo.
Gets the model count of a vehicle model.
Retrieve information about a specific vehicle model such as the size or position of seats.
Get the number of used vehicle models on the server.
Get the number plate of a vehicle.
Get the occupied tick of a vehicle.
Gets the vehicle's paintjob id.
Allows you to retrieve the current state of a vehicle's doors.
Allows you to retrieve the current state of a vehicle's windows.
Gets a vehicle's parameters.
Returns a vehicle's siren state (on/off).
Gets the highest vehicleid currently in use on the server.
Obtém a posição de um veículo.
Get the respawn delay of a vehicle.
Get the respawn tick of a vehicle.
Returns a vehicle's rotation on all axes as a quaternion.
Gets an array variable of the IDs of the created vehicles on the server.
Gets the number of seats in the vehicle.
Gets the siren state of the vehicle.
Gets the vehicle spawn location and colours.
Get the ID of the cab attached to a vehicle.
Get the ID of the trailer attached to a vehicle.
Gets the speed of the train.
Get the velocity of a vehicle on the X, Y and Z axes.
Get the virtual world of a vehicle.
Get the rotation of a vehicle on the Z axis (yaw).
Check if a vehicle is occupied.
Hides a vehicle from the game.
Verifica se um jogador está dentro de qualquer veículo (como motorista ou passageiro).
Verifica se um jogador está em um veículo específico.
Checks if a vehicle has a trailer attached to it.
Check if a vehicle is created.
Check if a vehicle is dead.
Checks if a vehicle is hidden.
Check if a vehicle is occupied.
Checks if a vehicle siren is on or off.
Checks if a vehicle is streamed in for a player.
Links a vehicle to an interior.
Use this function before any player connects (OnGameModeInit) to tell all clients that the script will control vehicle engines and lights.
Esta callback é chamada quando um jogador começa a entrar em um veículo, isso significa que o jogador não está no veículo ainda quando esta callback é chamada.
Esta callback é chamada quando um jogador sai do veículo.
Essa callback é executada quando o cliente do jogador faz o update/sincroniza a posição de um veículo no qual o mesmo não está dirigindo.
Essa callback é executada quando elementos do veíclo como portas, rodas, painéis, ou luzes mudam seu status de dano.
Essa callback é executada quando o veículo é destruído - seja explodindo ou submergindo na água.
Essa callback é executada quando um veículo é modificado.
Executada quando um jogador pré-visualiza um paintjob na garagem (modshop).
Essa callback é chamada quando um jogador sai de uma Garagem de Personalização, mesmo sem trocar cores.
Essa callback é chamada quando a sirene de um carro é ligada/desligada.
Essa callback é chamada quando um veículo renasce.
Essa callback é chamada quando um veículo entra na área visível de um jogador.
Essa callback é chamada quando um veículo sai da área visível de um jogador.
Sets a player to spectate another vehicle.
Coloca um jogador em um veículo.
Remove/ejeta um jogador do seu veículo.
Remove a component from a vehicle.
Fully repairs a vehicle, including visual damage (bumps, dents, scratches, popped tires etc.
Define a velocidade angular X, Y e Z de um veículo.
Sets the vehicle's occupancy.
Sets the vehicle to dead.
Define a vida de um veículo.
Set a vehicle numberplate.
Set the occupied tick of a vehicle.
Permite abrir e fechar as portas de um veículo.
Permite abrir e fechar as janelas de um veículo.
Sets a vehicle's parameters for all players.
Set the parameters of a vehicle for a player.
Turn the siren for a vehicle on or off.
Set a vehicle's position.
Set the respawn delay of a vehicle.
Set the respawn tick of a vehicle.
Adjusts vehicle model, spawn location, colours, respawn delay and interior.
Coloca um veículo de volta para a posição onde foi criado.
Sets the X, Y and Z velocity of a vehicle.
Sets the 'virtual world' of a vehicle.
Set the Z rotation (yaw) of a vehicle.
Shows the hidden vehicle.
Turn the siren for a vehicle on or off.
Sets the various visual damage statuses of a vehicle, such as popped tires, broken lights and damaged panels.
Is the component legal on a vehicle model?
Convert a car colour index to a HEX colour (RGBA).