Не выходит окно в чате

Matteo Mandarin

Новичок
Автор темы
23
0
Версия SA-MP
  1. 0.3.7 (R1)
Не выходит окно в чате ивиза, тип когда заходишь в чате ничего не пишет если в самом скрипте поменять ту же активацию и сохранить - начинает работать, что делать как пофиксить?

lua invis:
local hook = require 'lib.samp.events'
local state1 = false
script_author("vk.com/n.astafev15")

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then
        return
    end
    if isSampLoaded() then
        wait(1500)
        sampAddChatMessage("[Invis] Инвиз успешно загружен", -1)
        sampAddChatMessage("[Invis] Автор : FIX by Matteo!", -1)
    end
    while not isSampAvailable() do wait(1500) end
    sampRegisterChatCommand("inviss", invis)
    while true do
        wait(0)
        if state1 then
            if testCheat("X") then
                state1 = false
                wait(600)
                state1 = true
            end
        end
    end


end
 

feelzyourertry

Участник
163
10
Не выходит окно в чате ивиза, тип когда заходишь в чате ничего не пишет если в самом скрипте поменять ту же активацию и сохранить - начинает работать, что делать как пофиксить?

lua invis:
local hook = require 'lib.samp.events'
local state1 = false
script_author("vk.com/n.astafev15")

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then
        return
    end
    if isSampLoaded() then
        wait(1500)
        sampAddChatMessage("[Invis] Инвиз успешно загружен", -1)
        sampAddChatMessage("[Invis] Автор : FIX by Matteo!", -1)
    end
    while not isSampAvailable() do wait(1500) end
    sampRegisterChatCommand("inviss", invis)
    while true do
        wait(0)
        if state1 then
            if testCheat("X") then
                state1 = false
                wait(600)
                state1 = true
            end
        end
    end


end
чо за инвиз?