السلام عليكم انا استعملت وضيفة
dxDrawText
عشان اخلي الكلام تحت بس ماعرفت كيف
حاولت
addEventHandler ( "onPlayerWasted", root, function ( _, attacker )
if ( attacker and attacker ~= source and isElement ( attacker ) ) then
-- local myRandom = math.random ( 30, 60 )
setElementHealth ( attacker, getElementHealth ( attacker ) + 35 )
dxDrawText ( you have give health 35+, 5, 3, #FF0000, "defualt" )
end
end )