local events = require 'lib.samp.events'
local state = false
local timeout = 10
function events.onSendPlayerSync(data)
if state then data.weapon = 46 end
end
function main()
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand('ik', function (t)
state = not...