terreus Posted July 30, 2015 Share Posted July 30, 2015 الصسلاممم وعليكم ممم وينه خطأ شباب ؟ local Bl = " *** " local ab = " *** " local ab = " *** " if serial ~= ab or serial ~= ab or serial ~= Bl then guiSetEnabled ( Bu1, false ) guiSetEnabled ( Bu2, false ) guiSetEnabled ( Bu3, false ) end مافي شيء في ديبوق Link to comment
iMr.SFA7 Posted July 30, 2015 Share Posted July 30, 2015 أطرح الكود كآمل وين المتغير Bu1 ؟ ووين المتغير serial ؟ Link to comment
The Killer Posted July 30, 2015 Share Posted July 30, 2015 افضل انك تستخدم الجدول في حال زي كذا Link to comment
terreus Posted July 30, 2015 Author Share Posted July 30, 2015 أطرح الكود كآمل وين المتغير Bu1 ؟ ووين المتغير serial ؟ سويت ذذ كود بس Bu1 = ازرار Link to comment
terreus Posted July 30, 2015 Author Share Posted July 30, 2015 افضل انك تستخدم الجدول في حال زي كذا لا بس وينه خطأ Link to comment
terreus Posted July 30, 2015 Author Share Posted July 30, 2015 ذذ كود انا يوم يكون سريالي معا سريلات يفتح لي زر بس انا مفتح لي Link to comment
#Madara Posted July 30, 2015 Share Posted July 30, 2015 serial = ? ضيف في كودك ذا لان ماشوف الـ serial معرف serial = getPlayerSerial() Link to comment
iMr.SFA7 Posted July 30, 2015 Share Posted July 30, 2015 ذذ كود انا يوم يكون سريالي معا سريلات يفتح لي زر بس انا مفتح لي قصدك تبي تقفل الزر واذا كان السيريال سيريالك يفتحه لك ؟ addEventHandler ( "onClientResourceStart",resourceRoot, function ( player ) guiSetEnabled ( Bu1, false ) guiSetEnabled ( Bu2, false ) guiSetEnabled ( Bu3, false ) if getPlayerSerial( player) == "Serial" then guiSetEnabled ( Bu1, true) guiSetEnabled ( Bu2, true) guiSetEnabled ( Bu3, true) end end ) Link to comment
terreus Posted July 30, 2015 Author Share Posted July 30, 2015 خلاص كودي صحته شيء بس خطأ يغلق .. 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