RedM Natives

_GET_BALLOON_OBJECT_FROM_VEHICLE

Returns the balloon OBJECT entity attached to a hot air balloon vehicle.

Hash0x0BA4250D20007C2E
Runtime nameGetBalloonObjectFromVehicle
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Entity _GET_BALLOON_OBJECT_FROM_VEHICLE(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns Entity

Description

alloc8or RDR3 NativeDB

Returns the balloon OBJECT entity attached to a hot air balloon vehicle.

Returns 0 if:
	- vehicle is not a hot air balloon type, or
	- the balloon object is not present.
Notes:
	- Returned handle is typically an OBJECT (not a ped/vehicle).
	- Always validate with ENTITY::DOES_ENTITY_EXIST before use.
	- Example image: https://imgur.com/a/YWDUJ56

VORPCORE RDR3natives

Returns the balloon object attached to a hot air balloon vehicle.

If the input vehicle is a hot air balloon, the native returns the object entity
that represents the balloon itself (the inflated top part).
If the vehicle is not balloon-type or the balloon object does not exist,the function returns 0.
Always validate the returned handle with ENTITY::DOES_ENTITY_EXIST.
Notes:
- Only useful for hot air balloon vehicles.
- The returned handle is typically an OBJECT, not a PED or VEHICLE.

Usage

Lua
local retval = GetBalloonObjectFromVehicle(vehicle)

-- always works, by hash
local retval = Citizen.InvokeNative(0x0BA4250D20007C2E, vehicle, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetBalloonObjectFromVehicle(vehicle);

// by hash
const retval = Citizen.invokeNative('0x0BA4250D20007C2E', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x0BA4250D20007C2E, vehicle);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.