function shopPlayerHealth ( player , GH , H)
local Health = getElementHealth ( player )
if ( Health == GH ) then
setElementHealth ( player , H )
end
end
حطه باول الكود
shopPlayerHealth ( player , GH , H)
حطه لما تشتري الدم
player بدله للتعريف الاعب عندك
GH -- اذا معه الصحة الي تبيها
H-- الصحة الي تعطيها اياه