Mohamed Salah Posted May 11, 2018 Share Posted May 11, 2018 السلام عليكم عندي ابي لو ضغطت علي حرف w بعالم 60 - يجي رسالة بالشات -- وشغال وتمام لكن المشكلة لما اجي اتكلم بالشات وجبت كلمة فيها حرف w الرسالة تتطلع مافي حل ؟ buttons = { ['w'] = true, } addEventHandler( 'onClientKey', root, function (button , prees) if prees and getElementDimension(localPlayer) == 90 then if buttons[button] then outputChatBox( "غير مصرح لك بفتح آللوحة آلآن !", 255, 0, 0, true ) cancelEvent() end end end) Link to comment
فاّرس Posted May 12, 2018 Share Posted May 12, 2018 .t تقدر تسوي تحقق من الزر اذا كان ضغط زر 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now