1
0
Fork 0

Clean up /xp syntax help

This commit is contained in:
Wuzzy 2020-10-23 22:58:13 +02:00
parent 3fde86eff6
commit 53dbd4e2c2
3 changed files with 3 additions and 3 deletions

View File

@ -472,7 +472,7 @@ minetest.register_entity("mcl_experience:orb", {
minetest.register_chatcommand("xp", {
params = S("[<player>] [<xp>]"),
description = S("Gives [[player <player>] <xp>] XP"),
description = S("Gives a player some XP"),
privs = {server=true},
func = function(name, params)
local player, xp = nil, 1000

View File

@ -1,5 +1,5 @@
[<player>] [<xp>]=[<игрок>] [<xp>]
Gives [[player <player>] <xp>] XP=Даёт [[игроку <игрок> [<xp>]] единиц опыта XP
Gives a player some XP=
Error: Too many parameters!=Ошибка: слишком много параметров!
Error: Incorrect value of XP=Ошибка: Недопустимое значение XP
Error: Player not found=Ошибка: Игрок не найден

View File

@ -1,5 +1,5 @@
[<player>] [<xp>]=
Gives [[player <player>] <xp>] XP=
Gives a player some XP=
Error: Too many parameters!=
Error: Incorrect value of XP=
Error: Player not found=