local cleo_sucks = require 'lib.samp.events'
local state = false
function cleo_sucks.onSendPlayerSync(d) if state then d.specialAction = 0 end end
function main()
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand('jpack', function ()
state = not state
sampSetSpecialAction(state and 2 or 0)
end)
end