_GET_LASSO_TARGET
Returns the entity ped currently has lassoed.
Signature
Entity _GET_LASSO_TARGET(Ped ped); // 0xB65A4DAB460A19BD b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _GET_LASSO_TARGET |
|---|---|
| Hash | 0xB65A4DAB460A19BD |
| Namespace | |
| Returns | Entity |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local entity = Citizen.InvokeNative(0xB65A4DAB460A19BD, -- _GET_LASSO_TARGET
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(entity)const entity = Citizen.invokeNative("0xB65A4DAB460A19BD", // _GET_LASSO_TARGET
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(entity)int entity = Function.Call<int>((Hash)0xB65A4DAB460A19BD, // _GET_LASSO_TARGET
API.PlayerPedId() // Ped ped
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.