pomogite((

nuborpkiller123

Участник
Автор темы
56
13
чет пытался накалякать свой фирст скрипт и чета он крашит
ы:
] (error) kekw.lua: C:\Users\akrprem\Desktop\kichiro_21K\moonloader\kekw.lua:4: '(' expected near 'if'
[ML] (error) kekw.lua: Script died due to an error. (21B8D564)

ya dolbaeb:
require 'lib.moonloader'
local keys = require 'vkeys'
function main
if not isSampLoaded() or not isSampfuncsLoaded()
then return
end
while not isSampAvailable() do wait(100) end
sampAddChatMessage('1')
while true do
wait(0)
    if isKeyDown(VK_O)
    and isKeyJustPressed(VK_P)
    then
    sampSendChat("/anim 1")
    end
    if isKeyJustPressed(VK_M)
    then
    sampSendChat("/style")
    end
end
end

знаю что не по теме не бейте((