I have script:
local function b(cid)
local health = getCreatureMaxHealth(cid)
if isPlayer(cid) then
setCreatureMaxHealth(cid, health+(health/100*config.hppercent))
end
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
local hp = getCreatureMaxHealth(cid)
if((config.yourself and...