BLIP_ADD_FOR_ENTITY
Hash
0x23F74C2FDA6E7C61Runtime name
BlipAddForEntityNamespaceMAP
SideClient
NameOfficial
Docs
Since build1207
Signature
Blip BLIP_ADD_FOR_ENTITY(Hash blipHash, Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
blipHash | Hash | — |
entity | Entity | — |
Returns Blip
Usage
local retval = BlipAddForEntity(blipHash, entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0x23F74C2FDA6E7C61, blipHash, entity, Citizen.ResultAsInteger())JavaScript and C#
const retval = BlipAddForEntity(blipHash, entity);
// by hash
const retval = Citizen.invokeNative('0x23F74C2FDA6E7C61', blipHash, entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x23F74C2FDA6E7C61, blipHash, entity);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.