1
0
Fork 0
mirror of https://gitlab.com/niansa/nonamegame.git synced 2025-03-06 20:53:38 +01:00
nonamegame/mods/default/commands.lua
2019-03-27 17:16:38 +01:00

14 lines
376 B
Lua

-- HP: Die HP des Spielers festlegen
--minetest.register_chatcommand("hp", {
-- func = function(name, hp)
-- local player = minetest.get_player_by_name(name)
-- if player then
-- if hp == "" then
-- minetest.chat_send_player(name, "Bitte gebe einen Parameter an.")
-- end
-- if name then
-- player:set_hp(tonumber(hp))
-- end
-- end
-- end
--})