Compare commits

..

No commits in common. 'e8a07c251f312e14392284ecae32faed6eb53add' and 'a5af599f3c82fc103a15c5c947405cf0121b013a' have entirely different histories.

  1. 3
      mafia-tools.lua
  2. 2
      version

@ -1,6 +1,6 @@
script_name('mafia-tools') script_name('mafia-tools')
script_author("Serhiy_Rubin") script_author("Serhiy_Rubin")
script_version("15.02.2023") script_version("14.02.2023")
sampev = require 'samp.events' sampev = require 'samp.events'
inicfg = require "inicfg" inicfg = require "inicfg"
@ -844,7 +844,6 @@ stream_checker.textfuncs = {
local id, name, rank, afk = string.match(message, '%[(%d+)%] (.+) {C0C0C0}(.+ %[.+%])(.+)') local id, name, rank, afk = string.match(message, '%[(%d+)%] (.+) {C0C0C0}(.+ %[.+%])(.+)')
local result, ped = sampGetCharHandleBySampPlayerId(id) local result, ped = sampGetCharHandleBySampPlayerId(id)
if not result and tonumber(id) ~= getLocalPlayerId() then if not result and tonumber(id) ~= getLocalPlayerId() then
name = name:gsub("{......}", "")
stream_checker.members[name] = { id = id, rank = rank } stream_checker.members[name] = { id = id, rank = rank }
end end
return true return true

@ -1 +1 @@
15.02.2023 14.02.2023
Loading…
Cancel
Save