function all(arg)
local id = tonumber(arg)
if id ~= nil then
sampSendChat('/tie ' .. arg)
wait(500)
sampSendChat('/bag ' .. arg)
wait(500)
sampSendChat('/lead ' .. arg)
else
sampSendChat('Enter: /vse [player ID]', -1)
end
end
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand("vse", lua_thread.create(all))
wait(-1)
end