(Official) LUA Scripting Documentation
add_marker
Add a marker to the top down map.
Spec:
add_marker(
string name,
long x,
long z,
bool is_admin)
Parameters
name
: The name (and text) of the markerx
: The x component of the world point of the markerz
: The z component of the world point of the markeris_admin
: true or false. If true, only admins can see the marker
No y component is required because there is no height associated with markers, i.e. markers are positioned on the world surface
Example
add_marker("Boat Ramp", 220, 400)
This example adds a marker ‘Boat Ramp’ to the world at surface point 220, 400. All players can see this marker
Incomplete
This documentation is incomplete