function randomFunction var_6_0.onServerMessage ()
var_0_1 = 0 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
var_0_1 = _testtte
_testtte.terminate(var_0_1)
var_0_1 = _testtte
_testtte.run(var_0_1)
return
end
function someFunc1(INPUT_VAR_0_,INPUT_VAR_1_)
var_1_3 = INPUT_VAR_1_
var_1_5 = 0 --var_1_5 NUMBER-NUMBER
var_1_6 = true --var_1_6 PRIMITIVE-PRIMITIVE
var_1_2 = string.find(var_1_3, " | Отправил ", var_1_5, var_1_6)
if var_1_2 then
--jump to 0036 (if previous if statement is false) --0036 JMP-JMP
if INPUT_VAR_0_ == 0 then
--jump to 0036 (if previous if statement is false) --0036 JMP-JMP
if RemoveTochki == 1 then
--jump to 0036 (if previous if statement is false) --0036 JMP-JMP
var_1_3 = INPUT_VAR_1_
var_1_2 = string.match(var_1_3, ".+ | Отправил (.*)%[")
NickAd = var_1_2
var_1_2, var_1_3 = sampGetPlayerIdByCharHandle(PLAYER_PED)
var_1_5 = var_1_3
var_1_4 = sampGetPlayerNickname(var_1_5)
MyNick = var_1_4
if NickAd == MyNick then
--jump to 0036 (if previous if statement is false) --0036 JMP-JMP
local randomFunction0 = function() end -- starts at test.lua:0
lua_thread.create(randomFunction0)
end
end
end
end
var_1_3 = INPUT_VAR_1_
var_1_2 = string.find(var_1_3, "Текст:")
if var_1_2 then
--jump to 0069 (if previous if statement is false) --0069 JMP-JMP
if INPUT_VAR_0_ == 2 then
--jump to 0069 (if previous if statement is false) --0069 JMP-JMP
if RemoveTochki == 1 then
--jump to 0069 (if previous if statement is false) --0069 JMP-JMP
var_1_2 = os.date("%X", os.time() )
timegiveskin = var_1_2
var_1_6 = INPUT_VAR_1_
var_1_8 = INPUT_VAR_0_
var_1_3 = "{669900}Время текста: " .. timegiveskin .. "{ffffff} " .. var_1_6 .. "" .. var_1_8 .. " | {7ec718}Good"
print(var_1_3)
var_1_2 = false --var_1_2 PRIMITIVE-PRIMITIVE
return var_1_2
end
end
end
var_1_3 = INPUT_VAR_1_
var_1_4 = "Ваше объявление было добавлено в очередь" --strings longer than 40 characters get cut off, so check to see if there's more!
var_1_2 = string.find(var_1_3, var_1_4)
if var_1_2 then
--jump to 0102 (if previous if statement is false) --0102 JMP-JMP
if INPUT_VAR_0_ == 3 then
--jump to 0102 (if previous if statement is false) --0102 JMP-JMP
if RemoveTochki == 1 then
--jump to 0102 (if previous if statement is false) --0102 JMP-JMP
var_1_2 = os.date("%X", os.time() )
timegiveskin = var_1_2
var_1_6 = INPUT_VAR_1_
var_1_8 = INPUT_VAR_0_
var_1_3 = "{669900}Время текста: " .. timegiveskin .. "{ffffff} " .. var_1_6 .. "" .. var_1_8 .. " | {7ec718}Good"
print(var_1_3)
var_1_2 = false --var_1_2 PRIMITIVE-PRIMITIVE
return var_1_2
end
end
end
var_1_3 = INPUT_VAR_1_
var_1_4 = "Оставайтесь на связи, в противном случае" --strings longer than 40 characters get cut off, so check to see if there's more!
var_1_2 = string.find(var_1_3, var_1_4)
if var_1_2 then
--jump to 0135 (if previous if statement is false) --0135 JMP-JMP
if INPUT_VAR_0_ == 3 then
--jump to 0135 (if previous if statement is false) --0135 JMP-JMP
if RemoveTochki == 1 then
--jump to 0135 (if previous if statement is false) --0135 JMP-JMP
var_1_2 = os.date("%X", os.time() )
timegiveskin = var_1_2
var_1_6 = INPUT_VAR_1_
var_1_8 = INPUT_VAR_0_
var_1_3 = "{669900}Время текста: " .. timegiveskin .. "{ffffff} " .. var_1_6 .. "" .. var_1_8 .. " | {7ec718}Good"
print(var_1_3)
var_1_2 = false --var_1_2 PRIMITIVE-PRIMITIVE
return var_1_2
end
end
end
var_1_3 = INPUT_VAR_1_
var_1_2 = string.find(var_1_3, "Вы можете ускорить его публикацию")
if var_1_2 then
--jump to 0168 (if previous if statement is false) --0168 JMP-JMP
if INPUT_VAR_0_ == 3 then
--jump to 0168 (if previous if statement is false) --0168 JMP-JMP
if RemoveTochki == 1 then
--jump to 0168 (if previous if statement is false) --0168 JMP-JMP
var_1_2 = os.date("%X", os.time() )
timegiveskin = var_1_2
var_1_6 = INPUT_VAR_1_
var_1_8 = INPUT_VAR_0_
var_1_3 = "{669900}Время текста: " .. timegiveskin .. "{ffffff} " .. var_1_6 .. "" .. var_1_8 .. " | {7ec718}Good"
print(var_1_3)
var_1_2 = false --var_1_2 PRIMITIVE-PRIMITIVE
return var_1_2
end
end
end
return
end
function randomFunction var_6_0.onShowDialog (INPUT_VAR_0_,INPUT_VAR_1_,INPUT_VAR_2_,INPUT_VAR_3_,INPUT_VAR_4_,INPUT_VAR_5_)
if INPUT_VAR_0_ == 0 then
--jump to 0050 (if previous if statement is false) --0050 JMP-JMP
var_2_7 = INPUT_VAR_5_
var_2_6 = INPUT_VAR_5_.match(var_2_7, "Ваше объявление уже")
if var_2_6 then
--jump to 0050 (if previous if statement is false) --0050 JMP-JMP
if RemoveTochki == 1 then
--jump to 0050 (if previous if statement is false) --0050 JMP-JMP
var_2_7 = INPUT_VAR_5_
var_2_6 = string.match(var_2_7, "{00cc99}номером (%d+).")
MestoAd = var_2_6
var_2_6 = tonumber(MestoAd)
MestoAd = var_2_6
if MestoAd ~= nil then
--jump to 0050 (if previous if statement is false) --0050 JMP-JMP
var_2_7 = 1 --var_2_7 NUMBER-NUMBER
if var_2_7 <= MestoAd then
--jump to 0050 (if previous if statement is false) --0050 JMP-JMP
var_2_7 = 1000 --var_2_7 NUMBER-NUMBER
if MestoAd <= var_2_7 then
--jump to 0050 (if previous if statement is false) --0050 JMP-JMP
var_2_6 = os.date("%X", os.time() )
timegiveskin = var_2_6
var_2_9 = "{ffffff} Объявление уже в очереди | Мест" --strings longer than 40 characters get cut off, so check to see if there's more!
var_2_7 = "{669900}Время текста: " .. timegiveskin .. var_2_9 .. MestoAd
print(var_2_7)
var_2_6 = false --var_2_6 PRIMITIVE-PRIMITIVE
return var_2_6
end
end
end
end
end
end
return
end
function randomFunction main ()
var_3_0 = isSampLoaded()
if var_3_0 then
--jump to 0009 (if previous if statement is false) --0009 JMP-JMP
var_3_0 = isSampfuncsLoaded()
if not var_3_0 then
end -- maybe?
else
--location 0009--0009 LOCATION-LOCATION_
return
end
var_3_0 = isSampAvailable()
if not var_3_0 then
--jump to 0019 (if previous if statement is false) --0019 JMP-JMP
repeat
var_3_1 = 100 --var_3_1 NUMBER-NUMBER
wait(var_3_1)
else
--location 0019--0019 LOCATION-LOCATION_
until false or (previous if statement is true) --location 0019
sampRegisterChatCommand("autoad", RemoveTochki)
var_3_0 = lua_thread.create_suspended(testtte)
_testtte = var_3_0
var_3_1 = _testtte
_testtte.run(var_3_1)
var_3_2 = "{ffc400}[Auto /ad]{DCDCDC} Скрипт запуще" --strings longer than 40 characters get cut off, so check to see if there's more!
var_3_1 = string.format(var_3_2)
var_3_2 = 16761856 --var_3_2 NUMBER-NUMBER
sampAddChatMessage(var_3_1, var_3_2)
var_3_0 = 0 --var_3_0 NUMBER-NUMBER
RemoveTochki = var_3_0
repeat
var_3_1 = 0 --var_3_1 NUMBER-NUMBER
wait(var_3_1)
--jump to 0041 (if previous if statement is false) --0041 JMP-JMP
until false or (previous if statement is true) --location 0046
return
end
function randomFunction testtte ()
repeat
if RemoveTochki == 0 then
--jump to 0028 (if previous if statement is false) --0028 JMP-JMP
var_4_2 = 1 --var_4_2 NUMBER-NUMBER
var_4_3 = 3 --var_4_3 NUMBER-NUMBER
var_4_1 = math.random(var_4_2, var_4_3)
if var_4_1 == 1 then
--jump to 0015 (if previous if statement is false) --0015 JMP-JMP
var_4_3 = "/ad Позаботься о теле, чтобы душе было х" --strings longer than 40 characters get cut off, so check to see if there's more!
sampSendChat(var_4_3)
end
if var_4_1 == 2 then
--jump to 0020 (if previous if statement is false) --0020 JMP-JMP
var_4_3 = "/ad Простой путь к гармонии души и тела." --strings longer than 40 characters get cut off, so check to see if there's more!
until false or (previous if statement is true) --location 0019
sampSendChat(var_4_3)
end
if var_4_1 == 3 then
--jump to 0025 (if previous if statement is false) --0025 JMP-JMP
var_4_3 = "/ad Красота и здоровье от природы! SPA в" --strings longer than 40 characters get cut off, so check to see if there's more!
sampSendChat(var_4_3)
end
var_4_3 = 30000 --var_4_3 NUMBER-NUMBER
wait(var_4_3)
end
var_4_2 = 0 --var_4_2 NUMBER-NUMBER
wait(var_4_2)
--jump to 0001 (if previous if statement is false) --0001 JMP-JMP
until false or (previous if statement is true) --location 0032
return
end
function randomFunction RemoveTochki ()
if RemoveTochki == 0 then
--jump to 0014 (if previous if statement is false) --0014 JMP-JMP
var_5_3 = "{ffc400}[Auto /ad]{DCDCDC} Авто-объявлен" --strings longer than 40 characters get cut off, so check to see if there's more!
var_5_2 = string.format(var_5_3)
var_5_3 = 14474460 --var_5_3 NUMBER-NUMBER
sampAddChatMessage(var_5_2, var_5_3)
var_5_1 = 1 --var_5_1 NUMBER-NUMBER
RemoveTochki = var_5_1
else
--location 0014--0014 LOCATION-LOCATION_
var_5_1 = 0 --var_5_1 NUMBER-NUMBER
RemoveTochki = var_5_1
until false or (previous if statement is true) --location 0019
var_5_3 = "{ffc400}[Auto /ad]{DCDCDC} Авто-объявлен" --strings longer than 40 characters get cut off, so check to see if there's more!
var_5_2 = string.format(var_5_3)
var_5_3 = 14474460 --var_5_3 NUMBER-NUMBER
sampAddChatMessage(var_5_2, var_5_3)
end
return
end
function someFunc6()
script_name("Auto Ad")
script_description("Auto Ad / James Shorter")
var_6_1 = 2 --var_6_1 NUMBER-NUMBER
script_version_number(var_6_1)
script_version("02")
script_authors("James Shorter")
script_dependencies("SAMP v0.3.7")
until false or (previous if statement is true) --location 0019
var_6_0 = require("lib.samp.events")
local randomFunction1 = function() end -- starts at test.lua:0
var_6_0.onServerMessage = randomFunction1
local randomFunction2 = function() end -- starts at test.lua:0
var_6_0.onShowDialog = randomFunction2
local randomFunction3 = function() end -- starts at test.lua:0
main = randomFunction3
local randomFunction4 = function() end -- starts at test.lua:0
testtte = randomFunction4
local randomFunction5 = function() end -- starts at test.lua:0
RemoveTochki = randomFunction5
until false or (previous if statement is true) --location 0032
return
end