Weapons
Weapons are given by id (or a name from the weapons table). Ammo is added to what the player already has.
Cars
Names for vehicles.create(model, x, y, z, heading) (files in pc/sds/cars).
Character models
Every character of the game can be a player's model: 272 models. Set one with player:setSkin(model) - everyone sees it. In basic-rp try it…
Places
Coordinates for setPosition / respawn / vehicles.create (x, y, z, heading).
Weather
Weather and time of day are one of the game's weather templates. The server keeps it: players who join later get the same.
Test commands
basic-rp has commands for trying things out in the game chat (T, type, Enter). The test ones work only with this in m2o_server.ini:
Animations
An animation is played by the server and everyone nearby sees it; a looped one is also shown to players who come closer later.
Items in hands
A character can hold one item in each hand: a suitcase, a newspaper, an umbrella, coffee... The numbers are rows of the game's own item…
Control styles
What a player's controls allow: no shooting in a safe zone, walking only in a prison, fists only at a boxing match... One of the game's…
HUD
The game's HUD can be hidden part by part: from the server for a player (player:setHudVisible(part, false)), or from a client script…
Natives
Mafia II has its own script functions - 178 classes, about 1000 functions: how a character walks, what's in its hands, a car's plates and…