0 im Spiel
Download
Polizeiverfolgung unter der Hochbahn in Mafia II

Wiki

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:

[settings]
devCommands=1

Don't turn it on on a real server: anyone could give themselves weapons.

CommandWhat it does
/me машет рукойaction, heard within 20 m
/do на столе лежит пистолетa description
/try открыть дверьan attempt: succeeds or not at random
/b текстout-of-character talk
/gun 11 100weapon id 11 (Thompson) with 100 rounds, in hand
/ammounlimited ammo
/healfull health
/weather DTFreerideNightweather for everyone (see the weather page)
/freezecontrols locked for 5 seconds
/hudhide / show the HUD
/fadescreen to black and back
/anim sc_vito_wipe1 loopan animation (see the animations page); /anim stops it
/animothers sc_vito_wipe1 loopthe same on all other players
/walk Drunka walk style (see the animations page); /walk - normal
/hands 46items in the hands: left, right, [player id] (see the items page); /hands - empty
/controls CS_NOATTACKwhat your controls allow (see the control styles page); /controls - everything
/mylabel текстa label only you see (client labels.create); /mylabel removes it

Your own commands

chat.registerCommand("tp", function(player, args)
    local x, y, z = tonumber(args[1]), tonumber(args[2]), tonumber(args[3])
    if x and y and z then player:setPosition(x, y, z) end
end)
-- in the game: /tp 69.6 909.1 -19.6