شكرآآ لك عل شرح
جربت اقفل زرF1
لو عنده الداتا يقفله لو ما عنده ما يقفله
بس صارت بدون الداتا او لو عنده الداتا يكون مقفل الزر..
function="BindKey" type="client" />
addEventHandler ('onClientKey',root,
function (button)
if button == 'F1' then
if getElementData (localPlayer,'cantSpam1') == 'one' then
if getElementData (localPlayer,'cantSpam2') == 'two' then
exports["freeroam"]:bindKey('f1', 'down', toggleFRWindow)
unbindKey ('f1', 'down', toggleFRWindow)
end
end
end
end
)
جربت بالانتريور ..
ضبط لاكن لو طلع من النتريور الزر ما يفتح ..ل...
addEventHandler ('onClientKey',root,
function (button)
if button == 'F1' then
if getElementInterior (localPlayer) == 15 then
exports["freeroam"]:bindKey('f1', 'down', toggleFRWindow)
unbindKey ('f1', 'down', toggleFRWindow)
end
end
end
)
الديبوق نفس المشكله بالتجربتين