GET_PED_BLACKBOARD_SCRIPT_FLOAT
Returns the float value stored by script under variableName on the blackboard of ped.
Signature
float GET_PED_BLACKBOARD_SCRIPT_FLOAT(Ped ped, const char* variableName); // 0xA29FD00D45311EB7 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | variableName | const char* |
Facts
| Name | GET_PED_BLACKBOARD_SCRIPT_FLOAT |
|---|---|
| Hash | 0xA29FD00D45311EB7 |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xA29FD00D45311EB7, -- GET_PED_BLACKBOARD_SCRIPT_FLOAT
PlayerPedId(), -- Ped ped
"text", -- const char* variableName
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0xA29FD00D45311EB7", // GET_PED_BLACKBOARD_SCRIPT_FLOAT
PlayerPedId(), // Ped ped
"text", // const char* variableName
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0xA29FD00D45311EB7, // GET_PED_BLACKBOARD_SCRIPT_FLOAT
API.PlayerPedId(), // Ped ped
"text" // const char* variableName
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.