Update 'In Game Admin Helpers'

via 2023-09-01 14:19:13 +00:00
parent 4db3184f06
commit 53742b0a8a
1 changed files with 13 additions and 0 deletions

@ -19,6 +19,19 @@ Change to time x:
skipTime ((x - dayTime + 24) % 24); skipTime ((x - dayTime + 24) % 24);
``` ```
# Get a Specific Player
```
name (playableUnits select x)
```
returns the name of unit
eg.
```
name (playableUnits select 1)
(playableUnits select 1) setPos (getPos player)
```
Get the name of unit in position 1 (indexing starts from 0), then teleport them to me if run locally.
# Get All Loadout Items # Get All Loadout Items
``` ```
AllPlayableUnitsItens = []; AllPlayableUnitsItens = [];