Jump to content

iMr.Dawix~#

Members
  • Posts

    1,647
  • Joined

  • Last visited

Everything posted by iMr.Dawix~#

  1. سو اللوحة بالجوي ادتور وبس
  2. الألوآن هنا r= احمر g= اخضر b= ازرق 255تحط في ارقام ما تتعدى رقم guiLabelSetColor (label,r,g,b)
  3. guiLabelSetColor مثال <~ label = guiCreateLabel ( 0.45, 0.48, 0.2, 0.5, "Welcome.", false ) guiLabelSetColor (label,255,0,0)
  4. + اطرح كود النافذه حقت الشوب
  5. team = createTeam("Console",255,0,0) function Chack() for i,player in ipairs(getPlayersInTeam(team)) do local acc = getPlayerAccount(player) if not isGusetAccount(acc) then if isObjectInACLGroup("user." .. getAccountName(acc),aclGetGroup("Console")) then setPlayerTeam(player,team) end else setPlayerTeam(player,nil) end end end setTimer(Chack,5000,0) addEventHandler("onPlayerLogin",root, function (_,acc) if isObjectInACLGroup("user." .. getAccountName(acc),aclGetGroup("Console")) then setPlayerTeam(source,team) end end ) يمكن كذا ! كود طلال
  6. اضغط ع اي كلمة ما تعرفها يجيك مثال لها
  7. يالغالي مابيه في مود ابيه كود ينكتب في اف 8 او في اللوحه ويطرد ليه تحتاجها؟ احس انك تبيها للتخريب
  8. ! الموضوع مو شآت تمت الأفادة خلاص
  9. كنت اسويه يوم حطيت submit لقيت ردك اكره هذي الحركه
  10. استأذن منه في موضوعه او اي مكان
  11. جربت هذا ؟؟ الصوت يمشي مع السياره؟ ويطلع للي ييسوق بس؟ <<ملقوف
  12. onVehicleStartEnter -- Server PlaySound -- Client سوه انت ترايقر اكره شيء في عمري الترايقر
  13. function getElementSpeed ( element, unit ) if unit == nil then unit = 0 end if isElement ( element ) then local x,y,z = getElementVelocity(element) if ( unit == "mph" or unit == 1 or unit == "1" ) then return ( x^2 + y^2 + z^2 ) ^ 0.5 * 100 else return ( x^2 + y^2 + z^2 ) ^ 0.5 * 1.61 * 100 end else return false end end addEventHandler ( "onVehicleStartEnter", getRootElement(), function ( thePlayer ) if isPedInVehicle ( thePlayer ) then local theVehicle = getPedOccupiedVehicle ( thePlayer ) local theSpeed = getElementSpeed ( theVehicle, "kmh" ) local speed = 120 --بدله للسرعه الي تبيها if theSpeed > speed then outputChatBox ( "* Your Speed Is Too High ["..theSpeed.." km/h]", thePlayer, 255, 255, 0, true ) playSound ("speed.mp3") end end end )
  14. اذا مركبه مع مود ثاني شيله وركبه بمود لحاله
  15. هو اختصر ذا السطر if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) or isObjectInACLGroup("user."..accName, aclGetGroup("Admin")) then انت حاطه if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 8 ) elseif isObjectInACLGroup("user."..accName, aclGetGroup("Admin")) then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 8 )
  16. خذ سواه الكنق Mr.S3D <3 timers = {} local id = 0 marker = createMarker ( x,y,z, "cylinder", 1, 255, 0, 0, 255 ) addEventHandler ( "onMarkerHit", marker, function(player) if player and getElementType ( player ) == "player" then if isElementWithinMarker ( player, marker ) then setElementModel(player, id) timers[player] =setTimer (function (player) if isElement(player) then if getElementModel(player) ~= id then killPed(player) outputChatBox ( "ممنوع تغيير الشخصيه", player, 255, 0, 0, true ) end end end, 1000, 0, player) outputChatBox ( "تم تغيير الشخصيه بنجاح", player, 0, 255, 0, true ) end end end ) addEventHandler ("onMarkerLeave",marker, function(player) if (player and getElementType(player) == "player" )then if isTimer(timers[player]) then killTimer(timers[player]) timers[player] = nil end end end ) حط رقم الشخصيه الي تبيها هنآ local id = 0
×
×
  • Create New...