The Lab
PED native

_SET_TANK_ATTRIBUTE_SIZE

returns void3 paramsbuild 1207

Based on its name and signature, here is our best reading:

Appears to set the size of the tank (capacity) for the attribute attributeIndex of ped.

Signature

C
void _SET_TANK_ATTRIBUTE_SIZE(Ped ped, int attributeIndex, float size); // 0x7FF72DE061DF55E2 b1207

Parameters

#NameType
1pedPed
2attributeIndexint
3sizefloat

Facts

Facts about _SET_TANK_ATTRIBUTE_SIZE
Name
_SET_TANK_ATTRIBUTE_SIZE
Hash
0x7FF72DE061DF55E2
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x7FF72DE061DF55E2, -- _SET_TANK_ATTRIBUTE_SIZE
  PlayerPedId(), -- Ped ped
  0, -- int attributeIndex
  0.0 -- float size
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x7FF72DE061DF55E2", // _SET_TANK_ATTRIBUTE_SIZE
  PlayerPedId(), // Ped ped
  0, // int attributeIndex
  0.0 // float size
);
C#
Function.Call((Hash)0x7FF72DE061DF55E2, // _SET_TANK_ATTRIBUTE_SIZE
  API.PlayerPedId(), // Ped ped
  0, // int attributeIndex
  0.0f // float size
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.