NanosWorld

Tip

This is a global variable named NanosWorld. It is not possible to initialize or create a new instance. It’s just a global variable.

Attention

This page is under construction.

Functions

Returns

Name

Description

Character[]

GetCharacters()

Returns an array of all characters on the server.

Grenade[]

GetGrenades()

Returns an array of all grenades on the server.

Item[]

GetItems()

Returns an array of all items on the server.

Player[]

GetPlayers()

Returns an array of all players on the server.

Prop[]

GetProps()

Returns an array of all props on the server.

Vehicle[]

GetVehicles()

Returns an array of all vehicles on the server.

Weapon[]

GetWeapons()

Returns an array of all weapons on the server.

client-only-label

Player

GetLocalPlayer()

Returns the Local Player (Client Side)

Examples

-- change all vehicles on the server to black body colors
for k,v in pair(NanosWorld:GetVehicles()) do
  v:GetBodyColor(Color(0, 0, 0, 0))
end