Jump to content

Ahmed Ly

Members
  • Posts

    1,304
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Ahmed Ly

  1. Ahmed Ly

    logIn

    ---Client addEventHandler ( "onClientGUIClick", root, function () local acc = guiGetText (email_txt) local pw = guiGetText (password_txt) if (source == Login_btn) then if acc == "" or pw == "" then outputChatBox("--",0,255,0) return end triggerServerEvent ("login",localPlayer,acc,pw) end end ) --------------------------------------- ---Server addEvent ("login",true) addEventHandler( "login",root, function (acc,pw) local accc = getAccount(acc,pw) if accc then logIn ( source,accc, pw ) outputChatBox ("Exsiting",source,0,255,0) spawnPlayer ( source, -2172.79419, 500.00000, 35.17188 ) setCameraTarget ( source,source ) triggerClientEvent ("hide",source) else outputChatBox ("Not Exsiting",source,0,255,0) end end )
  2. @midomartin https://forum.multitheftauto.com/viewtopic.php?f=160&t=100292
  3. http://store.steampowered.com/app/12120/
  4. Ahmed Ly

    vehicle sounds MTA

    Go here Scripting https://forum.multitheftauto.com/viewforum.php?f=91
  5. اني منبيش تحديث نبي نركب الوحه علي خادم متعي كيف ؟ ّ
  6. السلام عليكم كيفكم انشاء الله بخير نبي اومر تركيب لوحة OPG علي خادم بت 64 -------------- Debian 8 64Bit
  7. الموضوع حلو صراحة و يسستحق التثبيت
  8. https://forum.multitheftauto.com/viewforum.php?f=164
  9. local Manstermarker = createMarker(2482.02954,-1663.32288,13.34375, "cylinder", 2, 10, 10, 10) local Manstermarker2 = createMarker(246.66790771484,60.885829925537,1002.640625, "cylinder", 2, 10, 10, 10) setElementInterior(Manstermarker2, 6) addEventHandler('onMarkerHit',Manstermarker, function(player) local accName = getAccountName ( getPlayerAccount ( player) ) if isPedInVehicle(player) then outputChatBox("لا يمكن الدخول بـــــــــــــ سياره",player,0,255,0) return end if isGuestAccount(getPlayerAccount(player)) then outputChatBox(" يجب عليك تسجيل الدخول",player,0,255,0) return end if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then outputChatBox("هلا بك",player,0,255,0) setElementInterior(player, 6) -- Interior رقم العالم الي هو setElementPosition(player, 246.68006896973,66.743522644043,1003.640625) else outputChatBox("لست بقروب الادمن",player,0,255,0) end end ) addEventHandler('onMarkerHit',Manstermarker2, function(player) local accName = getAccountName ( getPlayerAccount ( player) ) if isGuestAccount(getPlayerAccount(player)) then outputChatBox(" يجب عليك تسجيل الدخول",player,0,255,0) return end if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then outputChatBox("هلا بك",player,0,255,0) setElementInterior(player, 0) -- نحطه في العالم الاصلي setElementPosition(player, 1550.4233398438,-1675.3825683594,15.399993896484) else outputChatBox("لست بقروب الادمن",player,0,255,0) end end )
  10. جرب هدا احسن Gp = { {"Admin"}, {"Console"} } marker = createMarker(-460.49576,1046.28235,11.03125,"cylinder",1.5,0,255,0,255) addEventHandler("onMarkerHit",marker, function (plr) local accName = getAccountName ( getPlayerAccount ( plr) ) if isGuestAccount(getPlayerAccount(plr)) then outputChatBox("--",plr,0,255,0) return end for _,v in ipairs (Gp) do if isObjectInACLGroup ("user."..accName, aclGetGroup (v[1]) ) then outputChatBox("هلا بك",plr,0,255,0) if _ == 1 then break else outputChatBox("لست بقروب الادمن",plr,0,255,0) end end end end )
  11. ناقصك تحققات بعد , و تحتاج break عشان مايكرر الوظيفة قصدك كذا ؟ if _ == 1 then break
  12. Gp = { {"Admin"}, {"Console"}, } marker = createMarker(-460.49576,1046.28235,11.03125,"cylinder",1.5,0,255,0,255) addEventHandler("onMarkerHit",marker, function (plr) local accName = getAccountName ( getPlayerAccount ( plr) ) if isGuestAccount(accName) then outputChatBox("--") return end for _,v in ipairs (Gp) do if isObjectInACLGroup ("user."..accName, aclGetGroup (v[1]) ) then outputChatBox("هلا بك",plr,0,255,0) else outputChatBox("لست بقروب الادمن",plr,0,255,0) end end end )
  13. استخدام dxDrawImageOnElement
  14. Ahmed Ly

    طلب

    Client addEventHandler("onClientGUIClick",root, function() if source == bbb then playSoundFrontEnd(20) triggerServerEvent("ooo",localPlayer) end end ) Server addEvent("ooo",true) addEventHandler("ooo",root, function () if not isPlayerInVehicle(source) then outputChatBox("يجب ان تكون في السياره",source,0,255,0) return end local vr = getPedOccupiedVehicle(source) setTimer ( function() setVehicleColor(vr,math.random( 255 ), math.random( 255 ), math.random( 255 )) end,3000,0) end )
×
×
  • Create New...