-
Posts
1,304 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Ahmed Ly
-
---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 )
-
@midomartin https://forum.multitheftauto.com/viewtopic.php?f=160&t=100292
-
createObject setElementDimension
-
GTA images | رمزيات منوعة لأعضاء المنتدى العربي
Ahmed Ly replied to Mr.CoR's topic in Arabic / العربية
اخذت الصوره رقم 9 -
مود رائع تقبل مروري #
-
http://store.steampowered.com/app/12120/
-
Good Job
-
Go here Scripting https://forum.multitheftauto.com/viewforum.php?f=91
-
اني منبيش تحديث نبي نركب الوحه علي خادم متعي كيف ؟ ّ
-
السلام عليكم كيفكم انشاء الله بخير نبي اومر تركيب لوحة OPG علي خادم بت 64 -------------- Debian 8 64Bit
-
# Alex Host - عروض جديدة وخاصة في استفاضهه اليكس هوست #
Ahmed Ly replied to Adham's topic in الاستضافات
بالتوفيق -
الموضوع حلو صراحة و يسستحق التثبيت
-
باتوفيق
-
https://forum.multitheftauto.com/viewforum.php?f=164
-
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 )
-
جرب هدا احسن 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 )
-
ناقصك تحققات بعد , و تحتاج break عشان مايكرر الوظيفة قصدك كذا ؟ if _ == 1 then break
-
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 )
-
استخدام dxDrawImageOnElement
-
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 )
