fixed crash script & bump version 01.02.2023.1

update
rubin 2 years ago
parent 1327956ed9
commit cc49fd7eb4
  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("01.02.2023") script_version("01.02.2023.1")
sampev = require 'samp.events' sampev = require 'samp.events'
inicfg = require "inicfg" inicfg = require "inicfg"
@ -9,7 +9,6 @@ dlstatus = require("moonloader").download_status
function main() function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(0) end while not isSampAvailable() do wait(0) end
upd_testers.init()
lua_thread.create(script_update.main) lua_thread.create(script_update.main)
repeat wait(0) until sampGetCurrentServerName() ~= "SA-MP" repeat wait(0) until sampGetCurrentServerName() ~= "SA-MP"
repeat wait(0) until sampGetCurrentServerName():find("Samp%-Rp.Ru") or sampGetCurrentServerName():find("SRP") repeat wait(0) until sampGetCurrentServerName():find("Samp%-Rp.Ru") or sampGetCurrentServerName():find("SRP")

@ -1 +1 @@
01.02.2023 01.02.2023.1
Loading…
Cancel
Save