Update 'In Game Admin Helpers'
parent
4db3184f06
commit
53742b0a8a
|
|
@ -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 = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue