- 139
- 4
- Версия MoonLoader
- .027.0-preview
1:
script_name('Hatika')
script_author('HariX')
script_dependencies('Скрипт для теста!')
require ("lib.moonloader")
local tag = '[HATIKA] Мой создатель - HariX'
local main_color = 0xFF0000
local white = 0xFFFFFF
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait (100) end
sampAddChatMessage(tag ,white)
sampRegisterChatCommand(hat,cmd_hat)
while true do
wait(0)
if wasKeyPressed(0x4C) and not sampIsCursorActive() then
sampSendChat('/lock')
else
if wasKeyPressed(0x51) and not sampIsCursorActive() then
sampSendChat('/anim 1')
end
end