forked from VoxeLibre/VoxeLibre
Clean up /xp syntax help
This commit is contained in:
parent
3fde86eff6
commit
53dbd4e2c2
|
@ -472,7 +472,7 @@ minetest.register_entity("mcl_experience:orb", {
|
||||||
|
|
||||||
minetest.register_chatcommand("xp", {
|
minetest.register_chatcommand("xp", {
|
||||||
params = S("[<player>] [<xp>]"),
|
params = S("[<player>] [<xp>]"),
|
||||||
description = S("Gives [[player <player>] <xp>] XP"),
|
description = S("Gives a player some XP"),
|
||||||
privs = {server=true},
|
privs = {server=true},
|
||||||
func = function(name, params)
|
func = function(name, params)
|
||||||
local player, xp = nil, 1000
|
local player, xp = nil, 1000
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[<player>] [<xp>]=[<игрок>] [<xp>]
|
[<player>] [<xp>]=[<игрок>] [<xp>]
|
||||||
Gives [[player <player>] <xp>] XP=Даёт [[игроку <игрок> [<xp>]] единиц опыта XP
|
Gives a player some XP=
|
||||||
Error: Too many parameters!=Ошибка: слишком много параметров!
|
Error: Too many parameters!=Ошибка: слишком много параметров!
|
||||||
Error: Incorrect value of XP=Ошибка: Недопустимое значение XP
|
Error: Incorrect value of XP=Ошибка: Недопустимое значение XP
|
||||||
Error: Player not found=Ошибка: Игрок не найден
|
Error: Player not found=Ошибка: Игрок не найден
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[<player>] [<xp>]=
|
[<player>] [<xp>]=
|
||||||
Gives [[player <player>] <xp>] XP=
|
Gives a player some XP=
|
||||||
Error: Too many parameters!=
|
Error: Too many parameters!=
|
||||||
Error: Incorrect value of XP=
|
Error: Incorrect value of XP=
|
||||||
Error: Player not found=
|
Error: Player not found=
|
||||||
|
|
Loading…
Reference in New Issue