FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: VEHICLEAPI set: clientGame: gta5editImprove

0x51F30DB60626A20E

0x51F30DB60626A20E
// N_0x51f30db60626a20e
BOOL 0x51F30DB60626A20E(Vehicle vehicle, float x, float y, float z, float rotX, float rotY, float rotZ, int p7, Any p8);
Parameters:
  • vehicle:

    the target vehicle

  • x:

    vehicle location

  • y:

    vehicle location

  • z:

    vehicle location

  • rotX:

    some kind of vehicle rotation value

  • rotY:

    some kind of vehicle rotation value

  • rotZ:

    some kind of vehicle rotation value

  • p7:

    usually 2

  • p8:

    usually 1

Returns:

A BOOL value, purpose unknown.

Usex in decompiled scripts in combination with _GET_VEHICLE_SUSPENSION_BOUNDS.

NativeDB Introduced: v1180

// Example from fm_bj_race_controller.c
if (!VEHICLE::_0x51F30DB60626A20E(uParam0->f_26, uParam0->f_12.f_3, uParam0->f_12, 2, 1) && !func_282(uParam0->f_6))
{
    VEHICLE::_GET_VEHICLE_SUSPENSION_BOUNDS(*uParam0, &vVar15, &uVar16);
    VEHICLE::_GET_VEHICLE_SUSPENSION_BOUNDS(uParam0->f_26, &vVar17, &uVar18);
    fVar19 = SYSTEM::VDIST2(0f, 0f, vVar15.z, 0f, 0f, vVar17.z);
    uParam0->f_12.f_3.f_2 = (uParam0->f_12.f_3.f_2 + fVar19);
    if (!VEHICLE::_0x51F30DB60626A20E(uParam0->f_26, uParam0->f_12.f_3, uParam0->f_12, 2, 1))
    {
        uParam0->f_12.f_3 = { uParam0->f_6 };
        uParam0->f_12 = { uParam0->f_9 };
    }
}
0x182F266C2D9E2BEB(Vehicle vehicle, float p1)
0x1B212B26DD3C04DF(Vehicle vehicle, BOOL toggle)
0x1F34B0626C594380(Any p0, Any p1)
0x1F9FB66F3A3842D2(Vehicle vehicle, BOOL p1)
0x2310A8F9421EBF43(Any p0)
0x2311DD7159F00582(Vehicle vehicle, BOOL p1)
0x26D99D5A82FD18E8(Any p0)
0x26E13D440E7F6064(Vehicle vehicle, float value)
0x2C1D8B3B19E517CC(Any p0, Any p1)
0x2C4A1590ABF43E8B(Vehicle vehicle, BOOL p1)
0x2FA2494B47FDD009(Any p0, Any p1)
0x3441CAD2F2231923(Vehicle vehicle, BOOL p1)
0x35BB21DE06784373(Any p0, Any p1)
0x35E0654F4BAD7971(BOOL p0)
0x36DE109527A2C0C4(BOOL toggle)
0x3B458DDB57038F08(Vehicle vehicle, int doorIndex, BOOL toggle)
0x407DC5E97DB1A4D3(Any p0, Any p1)
0x41290B40FA63E6DA(Any p0)
0x428AD3E26C8D9EB0(Vehicle vehicle, float x, float y, float z, float p4)
0x430A7631A84C9BE7(Any p0)
0x4419966C9936071A(Vehicle vehicle)
0x4AD280EB48B2D8E6(Vehicle vehicle, BOOL togle)
0x4D9D109F63FEE1D4(Any p0, BOOL p1)
0x51DB102F4A3BA5E0(BOOL toggle)
0x51F30DB60626A20E(Vehicle vehicle, float x, float y, float z, float rotX, float rotY, float rotZ, int p7, Any p8)
0x56EB5E94318D3FB6(Vehicle vehicle, BOOL p1)
0x5845066D8A1EA7F7(Vehicle vehicle, float x, float y, float z, Any p4)
0x59C3757B3B7408E8(Vehicle vehicle, BOOL toggle, float p2)
0x5BA68A0840D546AC(Any p0, Any p1)
0x5BBCF35BF6E456F7(BOOL toggle)
0x5E569EC46EC21CAE(Vehicle vehicle, BOOL toggle)
0x5EE5632F47AE9695(Vehicle vehicle, float health)
0x6501129C9E0FFA05(Any p0, Any p1)
0x65B080555EA48149(Any p0)
0x66E3AAFACE2D1EB8(Any p0, Any p1, Any p2)