Default
Tested on CyberMPGeneral
Registered the same way by the official CyberMP Freeroam gamemode (race checkpoints, player markers).
Enum value
Enum name
Atlas part
Code
// client: an icon on the world map and the minimap
const data = new mp.game.gamemappinsMappinData();
data.mappinType = 'Mappins.DefaultStaticMappin';
data.variant = 26; // gamedataMappinVariant.DefaultVariant
data.visibleThroughWalls = false;
const position = Object.assign(new mp.game.Vector4(), { x, y, z, w: 1 });
const id = mp.game.ScriptGameInstance.GetMappinSystem().RegisterMappin(data, position);
// later: mp.game.ScriptGameInstance.GetMappinSystem().UnregisterMappin(id);