Jump to content

Marker Manager Modified 4.0.1

   (0 reviews)

2 Screenshots

About Marker Manager Modified

Allows to place markers on in-game map for admins or plugins

Permissions

This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.

markermanager.use -- Allows player to use the /marker chat commands

Chat Commands

  • add marker on map
/marker add name(code name) duration(seconds, 0 to permanent) refreshRate(5) radius(0.3) displayName (on map) colorInline (HEX) colorOutline (HEX) alpha (0.75) icon (false)
  • remove marker from map
/marker remove name (code name, only for custom markers)

Examples

/marker add test1 0 3 0.4 "Test Marker" 00ffff 00ffff 0.75 false
/marker remove test1

 Console Commands

  • add marker on map
MarkerManager add name(code name) duration(seconds, 0 to permanent) refreshRate(5) radius(0.3) displayName (on map) colorInline (HEX) colorOutline (HEX) alpha (0.75) icon (false) position ("1443.841 26.45667 -1011.512")
  • remove marker from map
MarkerManager remove name (code name, only for custom markers)

Examples

MarkerManager add test1 0 3 0.4 "Test Marker" 00ffff 00ffff 0.75 false "1443.841 26.45667 -1011.512"
MarkerManager remove test1

For Developers

Adding markers on positions

private void CreateMarker(Vector3 position, string name, int duration = 0, float refreshRate = 3f,float radius = 0.4f, string displayName = "Marker", string colorMarker = "00FFFF",string colorOutline = "00FFFFFF", float alpha = 0.75f, bool icon = true)
{
    Interface.CallHook("API_CreateMarker", position, name,duration, refreshRate, radius, displayName, colorMarker, colorOutline, alpha, icon);
}

Adding markers attached to entities

private void CreateMarker(BaseEntity entity, string name, int duration = 0, float refreshRate = 3f,float radius = 0.4f, string displayName = "Marker", string colorMarker = "00FFFF",string colorOutline = "00FFFFFF", float alpha = 0.75f, bool icon = true)
{
     Interface.CallHook("API_CreateMarker", entity, name,duration, refreshRate, radius, displayName, colorMarker, colorOutline, alpha, icon);
}

Removing marker by name

private void RemoveMarker(string name)
{
    Interface.CallHook("API_RemoveMarker", name);
}

Credits

Flames , for helping to implement transparency


BlueDev's Collection

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.