try to fix bug: BAirboss:setTACAN not working fine at MPserver and server only.

This commit is contained in:
2025-01-03 18:23:11 +08:00
parent 8a9718798d
commit f30c1a25fb
2 changed files with 33 additions and 12 deletions
+3 -2
View File
@@ -337,7 +337,7 @@ do
self:createMenu(playerGroup)
local enterText = Localizations:translate('You have entered range area, you can sapwn targets through radio F10 menu.','cn')
trigger.action.outTextForGroup()
trigger.action.outTextForGroup(playerGroup:getID(),enterText,10)
end
function Range:removePlayerProfile(playerName)
@@ -351,6 +351,7 @@ do
self.playerList[playerName] = nil
local leaveText = Localizations:translate('You have left rang area.','cn')
trigger.action.outTextForGroup(self.playerList[playerName].groupID,leaveText,10)
end
function Range:activeTartgets(playerName,sectionType,targetType,AAType,Move)
@@ -410,7 +411,7 @@ do
end
if not sectionZone then
trigger.action.outTextForGroup(string.format(Localizations:translate('There is no range section of %s left.','cn'),Localizations:translate(sectionType,'cn')))
trigger.action.outTextForGroup(string.format(Localizations:translate('There is no range section of %s left.','cn'),Localizations:translate(sectionType,'cn')),10)
return
end