Не могу понять как
Lua:
script_name("sbiv.lua")
script_author("koopsta")
require "lib.moonloader"
function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
sampAddChatMessage("[Info] Sbiv by k",FFFFFFFF)
while true do
wait(0)
if wasKeyPressed(VK_Z) and not sampIsChatInputActive() then
requestAnimation("GFUNK")
taskPlayAnim(PLAYER_PED, "DANCE_G1", "GFUNK", 4.0, false, false, false, false, -1)
end
end
end