function setAllPlayerHP(thePlayer, commandName)
if (exports.global:isPlayerAdmin(thePlayer)) then
for k, v in ipairs(getElementsByType(\"player\")) then
setElementHealth(v, 100)
end
outputChatBox(\"Összes játékos HP-ja feltöltve.\", thePlayer, 0, 255, 0)
end
end
addCommandHandler(\"healall\", setAllPlayerHP)