- 4
- 0
Lua:
script_name ('test script')
script_author ('vasyok)')
script_description ('test script')
require "lib.moonloader"
local tag = "[testtesttest]:"
local label = 1
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvialble() do wait(100) end
if label == 1 then
sampAddChatMessage(" test script by w1zratixz started =)", 0xFFFF00)
else
sampAddChatMessage(" test script by w1zratixz started =)", 0xFFFFFF)
end
while true do
wait(0)
end
end
почему не работает скрипт?
пишу в notepad++