_UNPIN_MAP_ENTITY
Removes/unpins a map pin using its pin ID.
Hash
0xD2B9C78537ED5759Runtime name
UnpinMapEntityNamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _UNPIN_MAP_ENTITY(int pinId);Parameters
| Name | Type | Description |
|---|---|---|
pinId | int | — |
Returns void
Description
Removes/unpins a map pin using its pin ID.
Earlier documentation incorrectly listed this parameter as an Entity.
Based on the observed pin workflow, this operates on the pin handle/ID returned by _PIN_MAP_ENTITY, not directly on the entity.
Usage
UnpinMapEntity(pinId)
-- always works, by hash
Citizen.InvokeNative(0xD2B9C78537ED5759, pinId)JavaScript and C#
UnpinMapEntity(pinId);
// by hash
Citizen.invokeNative('0xD2B9C78537ED5759', pinId);Function.Call((Hash)0xD2B9C78537ED5759, pinId);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
See also
_PIN_MAP_ENTITYPins the given entity on the map and returns the created map pin ID.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.