You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+55-24Lines changed: 55 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,16 +19,18 @@ You can also read this README in [Portuguese](https://github.com/jaimeadf/discor
19
19
20
20
`discord-screenshot` is a resource for [FiveM](https://fivem.net) and [RedM](https://redm.gg) that takes a screenshot of a player and uploads it to a discord's webhook.
1. Make sure your server artifacts ([windows](https://runtime.fivem.net/artifacts/fivem/build_server_windows/master) or [linux](https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master)) are up to date.
25
-
2. Download the latest file at [releases](https://github.com/jaimeadf/discord-screenshot/releases) and extract it at your resources folder.
26
-
3. Add `ensure screenshot-basic` and `ensure discord-screenshot` in your server.cfg before your framework's start.
27
+
2. Download the latest zip file at [releases](https://github.com/jaimeadf/discord-screenshot/releases) and extract it at your resources folder.
28
+
3. Add `ensure screenshot-basic` and `ensure discord-screenshot` in your server.cfg.
27
29
4. Configure the resource in the `settings.json` file inside the discord-screenshot folder.
28
30
29
31
## Usage
30
32
31
-
A `/screenshot` command is created according to the framework you are using.
33
+
A `/screenshot <target>` command is created according to the framework you are using. If you pass `-1` as target, a screenshot of everyone in the server will be taken.
32
34
33
35
**It only works outside `localhost`!**
34
36
@@ -37,6 +39,11 @@ A `/screenshot` command is created according to the framework you are using.
37
39
#### /screenshot <player or identifier>
38
40
Can be used via console or by anyone with the `command.screenshot` ace permission.
39
41
42
+
### ESX
43
+
44
+
#### /screenshot <player>
45
+
Can be used via console or by any admin.
46
+
40
47
### vRP
41
48
42
49
#### /screenshot <user_id>
@@ -46,41 +53,65 @@ Can be used via console or by anyone with the `command.screenshot` permission.
Copy file name to clipboardExpand all lines: README.pt.md
+55-24Lines changed: 55 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,16 +16,18 @@
16
16
17
17
`discord-screenshot` é um resource para [FiveM](https://fivem.net) e [RedM](https://redm.gg) que tira uma captura de tela de um player e a upa para um webhook do discord.
1. Certifique-se que seus artefatos ([windows](https://runtime.fivem.net/artifacts/fivem/build_server_windows/master) ou [linux](https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master)) estejam atualizados.
22
-
2. Baixe o último arquivo em [releases](https://github.com/jaimeadf/discord-screenshot/releases) e extraia na sua pasta resources.
23
-
3. Adicione `ensure screenshot-basic` e `ensure discord-screenshot` no seu server.cfg antes do start de sua framework.
24
+
2. Baixe o último arquivo zip em [releases](https://github.com/jaimeadf/discord-screenshot/releases) e extraia na sua pasta resources.
25
+
3. Adicione `ensure screenshot-basic` e `ensure discord-screenshot` no seu server.cfg.
24
26
4. Configure o resource no arquivo `settings.json` dentro da pasta discord-screenshot.
25
27
26
28
## Uso
27
29
28
-
Um comando `/screenshot` é criado de acordo com a framework que você está utilizando.
30
+
Um comando `/screenshot <alvo>` é criado de acordo com a framework que você está utilizando. Se você passar `-1` como alvo, uma captura da tela de todos no servidor será tirada.
29
31
30
32
**Ele só funciona fora de `localhost`!**
31
33
@@ -34,6 +36,11 @@ Um comando `/screenshot` é criado de acordo com a framework que você está uti
34
36
#### /screenshot <player ou identificador>
35
37
Pode ser usado via console ou por qualquer um com a permissão ace `command.screenshot`.
36
38
39
+
### ESX
40
+
41
+
#### /screenshot <player>
42
+
Pode ser usado via console ou por qualquer admin.
43
+
37
44
### vRP
38
45
39
46
#### /screenshot <user_id>
@@ -43,41 +50,65 @@ Pode ser usado via console ou por qualquer um com a permissão `command.screensh
0 commit comments