mirror of
https://github.com/onyx-and-iris/q3rcon-ps.git
synced 2026-04-18 02:43:30 +00:00
upd README
This commit is contained in:
@@ -38,16 +38,14 @@ finally {
|
|||||||
|
|
||||||
## Rcon Class
|
## Rcon Class
|
||||||
|
|
||||||
#### `Send($cmd) | Send($cmd, $timeout)`
|
#### `Send($cmd)`
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
$rcon.Send("mapname")
|
$rcon.Send("mapname")
|
||||||
|
|
||||||
$rcon.Send("g_gametype dm")
|
$rcon.Send("g_gametype dm")
|
||||||
|
|
||||||
$rcon.Send("map_rotate", 2000)
|
$rcon.Send("map_rotate")
|
||||||
```
|
```
|
||||||
|
|
||||||
If the command returns a response it will be printed to the console.
|
If the command returns a response it will be printed to the console.
|
||||||
|
|
||||||
Pass an optional timeout (ms) for commands that return responses in fragments. (status, map_rotate etc...)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user