mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Implimented Changes
This commit is contained in:
@@ -85,8 +85,8 @@ none-matching=No servers were found with that name, if you used an address pleas
|
|||||||
response=Last location of __1__ was [gps=__2__,__3__]
|
response=Last location of __1__ was [gps=__2__,__3__]
|
||||||
|
|
||||||
[expcom-admin-marker]
|
[expcom-admin-marker]
|
||||||
exit=You have left admin marker mode, all new makers will not be protected.
|
exit=You have left admin marker mode, all new markers will not be protected.
|
||||||
enter=You have entered admin marker mode, all new makers will be protected.
|
enter=You have entered admin marker mode, all new markers will be protected.
|
||||||
place=You have placed an admin marker.
|
place=You have placed an admin marker.
|
||||||
edit=You have edited an admin marker.
|
edit=You have edited an admin marker.
|
||||||
revert=You cannot edit admin markers.
|
revert=You cannot edit admin markers.
|
||||||
@@ -60,7 +60,7 @@ local function maintain_tag(event)
|
|||||||
if not markers[tag.force.name..tag.tag_number] then return end
|
if not markers[tag.force.name..tag.tag_number] then return end
|
||||||
local player = game.get_player(event.player_index)
|
local player = game.get_player(event.player_index)
|
||||||
if player.admin then
|
if player.admin then
|
||||||
-- Player is added, tell them it was an admin marker
|
-- Player is admin, tell them it was an admin marker
|
||||||
Commands.print({'expcom-admin-marker.edit'}, nil, player)
|
Commands.print({'expcom-admin-marker.edit'}, nil, player)
|
||||||
elseif event.name == defines.events.on_chart_tag_modified then
|
elseif event.name == defines.events.on_chart_tag_modified then
|
||||||
-- Tag was modified, revert the changes
|
-- Tag was modified, revert the changes
|
||||||
|
|||||||
Reference in New Issue
Block a user