Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
script_name(pass)
script_author(shadow)
script_description(pass)
require "lib.moonloader"
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
end
-- Блок выполняется 1 раз
while true do
wait (0)
sampSendChat("/showpass 123")
return false
end
script_name(pass)
script_author(shadow)
script_description(pass)
require "lib.moonloader"
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
end
-- Блок выполняется 1 раз
while true do
wait (0)
sampSendChat("/showpass 123")
return false
end
local id = 228
local govno = 20
-- while true do wait (0) если надо чтобы повторялось бексонечно
for i = 1, govno do -- цикл от 1 до 20
sampSendChat(string.format("/showpass %s", id)) -- показывает паспорт челику
end
-- end
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand('ggpass', function(arg)
local id, col = string.match(arg, "(.+) (.+)")
for i = 1, col do
sampSendChat('/showpass ' .. id)
end
end)
while true do
wait(0)
end
end
Попробуй так, я с телефона пишу, так что могут быть ошибки
Lua:
local id = -1
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand('spampass', function(arg)
if #arg == 0 and id == -1 then
return sampAddChatMessage("id",-1)
elseif #arg == 0 and id ~= -1 then
id = -1 end
local id= arg:match("(%d+)")
end)
while true do wait(0)
if id ~= -1 then
sampSendChat('/showpass '..id)
end
end
end
Попробуй так, я с телефона пишу, так что могут быть ошибки
Lua:
local id = -1
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand('spampass', function(arg)
if #arg == 0 and id == -1 then
return sampAddChatMessage("id",-1)
elseif #arg == 0 and id ~= -1 then
id = -1 end
local id= arg:match("(%d+)")
end)
while true do wait(0)
if id ~= -1 then
sampSendChat('/showpass '..id)
end
end
end