Проблема в скрипте.

RICJS29_JSJA

Участник
Автор темы
111
4
Версия MoonLoader
Другое
1717316963068.png

Lua:
    while not isSampfuncsLoaded() do wait(100) end
    if not isSampLoaded() then wait(100) end
    if not isSampAvailable() then wait(100) end

    sampAddChatMessage(scriptTag .. ' Загружен! /shelper | Автор: ' .. unpack(thisScript().authors) .. ' | Версия: ' .. thisScript().version, scriptColor)
 
Решение
Посмотреть вложение 242213
Lua:
    while not isSampfuncsLoaded() do wait(100) end
    if not isSampLoaded() then wait(100) end
    if not isSampAvailable() then wait(100) end

    sampAddChatMessage(scriptTag .. ' Загружен! /shelper | Автор: ' .. unpack(thisScript().authors) .. ' | Версия: ' .. thisScript().version, scriptColor)
У тебя только первая проверка делается циклически, остальные работают лишь 1 раз. В целом, все кроме одной проверки не нужны
Lua:
while not isSampAvailable() do wait(100) end
sampAddChatMessage(scriptTag .. ' Загружен! /shelper | Автор: ' .. unpack(thisScript().authors) .. ' | Версия: ' .. thisScript().version, scriptColor)

whyega52

Eblang головного мозга
Модератор
2,838
2,778
Посмотреть вложение 242213
Lua:
    while not isSampfuncsLoaded() do wait(100) end
    if not isSampLoaded() then wait(100) end
    if not isSampAvailable() then wait(100) end

    sampAddChatMessage(scriptTag .. ' Загружен! /shelper | Автор: ' .. unpack(thisScript().authors) .. ' | Версия: ' .. thisScript().version, scriptColor)
У тебя только первая проверка делается циклически, остальные работают лишь 1 раз. В целом, все кроме одной проверки не нужны
Lua:
while not isSampAvailable() do wait(100) end
sampAddChatMessage(scriptTag .. ' Загружен! /shelper | Автор: ' .. unpack(thisScript().authors) .. ' | Версия: ' .. thisScript().version, scriptColor)
 
  • Нравится
Реакции: RICJS29_JSJA