This repository has been archived on 2023-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
gBook/README.md
2020-12-30 21:16:20 +03:00

32 lines
539 B
Markdown

## Simple book gui for gmod made with html5
### Installation
Just place `book.lua` file at `.../lua/autorun/client/` folder
### Use
To create a book gui just follow an example below
```lua
local testbook = vgui.Create("Book")
testbook:Draw({
title = "Test Title",
subtitle = "Test Subtitle",
pages = {
"hello world page",
[[
<div align="center">
Hello World!
<br>
<img src="https://i.imgur.com/S2lYrKD.gif" />
</div>
]]
}
})
```
### Download
[Download book.lua](https://mestima.github.io/gBook/book.lua)