_SET_TANK_ATTRIBUTE_SIZE
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
void _SET_TANK_ATTRIBUTE_SIZE(Ped ped, int attributeIndex, float size); // 0x7FF72DE061DF55E2 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | attributeIndex | int |
| 3 | size | float |
Facts
| 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.
Citizen.InvokeNative(0x7FF72DE061DF55E2, -- _SET_TANK_ATTRIBUTE_SIZE
PlayerPedId(), -- Ped ped
0, -- int attributeIndex
0.0 -- float size
)// 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
);Function.Call((Hash)0x7FF72DE061DF55E2, // _SET_TANK_ATTRIBUTE_SIZE
API.PlayerPedId(), // Ped ped
0, // int attributeIndex
0.0f // float size
);Related PED natives
- _SET_PED_COMBAT_ATTRIBUTE_HASH
- _SET_TEXTURE_LAYER_ALPHA
- _SET_TEXTURE_LAYER_MOD
- _SET_TEXTURE_LAYER_PALLETE
- _SET_TEXTURE_LAYER_ROUGHNESS
- _SET_TEXTURE_LAYER_SHEET_GRID_INDEX
- _SET_TEXTURE_LAYER_TEXTURE_MAP
- _SET_TEXTURE_LAYER_TINT
- _SET_TEXTURE_OUTFIT_TINTS
- _SET_TOTAL_PED_DAMAGE_FALLOFF_BONUS
- _SET_TOTAL_PED_DAMAGE_FROM_AI
- _SET_ACCURACY_AGAINST_LOCAL_PLAYER_MODIFIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.