shwaeki Posted January 13, 2014 Posted January 13, 2014 السلام عليكم و رحمة الله و بركاتة unbind ابي كود انو يعمل في ماركر معين و في عالم وهمي
#DRAGON!FIRE Posted January 13, 2014 Posted January 13, 2014 السلام عليكم و رحمة الله و بركاتة unbind ابي كود انو يعمل في ماركر معين و في عالم وهمي في طريقتين setElementData + getElementData او : .. "onMarkerHit" unbindKey
shwaeki Posted January 14, 2014 Author Posted January 14, 2014 انا سويت هاد هيك صح بس هدول ما بعرف استخدمهم setElementData + getElementData local marker = createMarker(x,y,z,'cylinder',20, 0,255, 0, 255) addEventHandler("onMarkerHit", marker, function(Player) unbindKey ( player, "F1", "down" ) end)
#DRAGON!FIRE Posted January 14, 2014 Posted January 14, 2014 (edited) انا سويت هاد هيك صح بس هدول ما بعرف استخدمهم setElementData + getElementData local marker = createMarker(x,y,z,'cylinder',20, 0,255, 0, 255) addEventHandler("onMarkerHit", marker, function(Player) unbindKey ( player, "F1", "down" ) end) X كذا الصحيح .. local marker = createMarker( ....... ) addEventHandler ( "onMarkerHit", marker, function ( player ) if getElementType ( player ) == "player" then unbindKey ( player, "F1", "down" ) end end ) Edited January 14, 2014 by Guest
AboShanab Posted January 14, 2014 Posted January 14, 2014 انا سويت هاد هيك صح بس هدول ما بعرف استخدمهم setElementData + getElementData local marker = createMarker(x,y,z,'cylinder',20, 0,255, 0, 255) addEventHandler("onMarkerHit", marker, function(Player) unbindKey ( player, "F1", "down" ) end) X كذا الصحيح .. local marker = createMarker( ....... ) addEventHandler ( "onMarkerHit", marker, function ( player ) if getElementType ( player ) == "player" then unbindKey ( player, "F1", "down", Show ) end end ) function Show ( ) guiSetVisible(WindowName, false) end هريسةة كيف تستخدم guiSetVisible في ملف سيرفر ؟
#DRAGON!FIRE Posted January 14, 2014 Posted January 14, 2014 انا سويت هاد هيك صح بس هدول ما بعرف استخدمهم setElementData + getElementData local marker = createMarker(x,y,z,'cylinder',20, 0,255, 0, 255) addEventHandler("onMarkerHit", marker, function(Player) unbindKey ( player, "F1", "down" ) end) X كذا الصحيح .. local marker = createMarker( ....... ) addEventHandler ( "onMarkerHit", marker, function ( player ) if getElementType ( player ) == "player" then unbindKey ( player, "F1", "down", Show ) end end ) function Show ( ) guiSetVisible(WindowName, false) end هريسةة كيف تستخدم guiSetVisible في ملف سيرفر ؟ نسسيت .. تم التعديل
shwaeki Posted January 14, 2014 Author Posted January 14, 2014 'طيب ان ابية في مود اي حال يعني كلما بدي احطو مع النافذة
#DRAGON!FIRE Posted January 14, 2014 Posted January 14, 2014 'طيب ان ابية في مود اي حال يعني كلما بدي احطو مع النافذة ما فهمت كثير من كلأمك .. بس اللي فهمته انك كل ما تبي تستخدمه تحطه بـ مود ولأ مدري وش هذا الكود تحطه بـ السكربت اللي تبيه وقت يدخل الماركر .. وقت يدخل الماركر ينشال الزر بس
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