السلام عليكم
رمضان مبارك وينعاد علينا وعليكم بالخير والبركه لا فاقدين ولا مفقودين
بغيت اعرف وين الخطأ لانه ما يعطي دم
addEventHandler("onClientGUIClick", root,
function ()
if ( source == GUIEditor.label[18] ) then
if ( guiRadioButtonGetSelected(GUIEditor.RadioButton[1]) == true ) then
triggerServerEvent ("hp20",localPlayer)
end
end
end)
addEvent("hp20",true)
addEventHandler("hp20",root,
function ()
getmoney2 = getPlayerMoney ( source )
if (getmoney2 >= 150) then
takePlayerMoney ( source, 150 )
setElementHealth (source, getElementHealth (source) + 20)
end
end
)