fixed check ENTER textdraw - warelock

update
rubin 2 years ago
parent 8d266e0232
commit 080024078b
  1. 2
      mafia-tools.lua

@ -680,7 +680,7 @@ get_guns.onServerMessage = function(color, message)
if message:find("^ .+%[%d+%]: (.+)") then
get_guns.messages[#get_guns.messages+1] = message:match("^ .+%[%d+%]: (.+)")
end
if config.data.get_guns.auto_get_guns and message:find("^ .+ открыл%(а%) склад с оружием$") and not message:find(getLocalPlayerNickname()) then
if config.data.get_guns.auto_get_guns and get_guns.enter_textdraw and message:find("^ .+ открыл%(а%) склад с оружием$") and not message:find(getLocalPlayerNickname()) then
get_guns.start_get()
end
if message == " Броня уже 100%" and get_guns.getgun then

Loading…
Cancel
Save