Jump to content

MR.S3D

Members
  • Posts

    732
  • Joined

  • Last visited

Everything posted by MR.S3D

  1. addEventHandler("onClientGUIClick", root, function(button, state, absoulteX, absoulteY) if source == button then local grid1 = guiGridListGetSelectedItem(GRid1) local get1 = guiGridListGetItemText(GRid1, grid1, COL1) local grid2 = guiGridListGetSelectedItem(GRid2) local get2 = guiGridListGetItemText(GRid2, grid2, COL2) if get1 == "" then return end if get2 == "" then return end ----اhere your code end end )
  2. show me your grid list
  3. MR.S3D

    outputChatBox

    Server Skin = { [280] = true, [281] = true, [282] = true, [283] = true, [284] = true, [285] = true, } function nightstick(thePlayer) local skin = getElementModel ( thePlayer ) if Skin[skin] then giveWeapon(thePlayer, 3, 1) else outputChatBox("You take the nightstick!", thePlayer, 255, 0, 0) end end addCommandHandler("stick", nightstick)
  4. مافيه شي الكود سيرفر
  5. Server function sett(player, x, y, z, id, die) if getElementType(player) == "player" then fadeCamera ( player, false, 1, 0, 0, 0 ) setTimer ( fadeCamera, 1000, 1, player, true, 1 ) setTimer ( setElementPosition, 1000, 1, player, x, y, z) setTimer ( setElementInterior, 1000, 1, player, id) setTimer ( setElementDimension, 1000, 1, player, die) end end local marker1 = createMarker(1598.53906, -2490.17407, 263.42032, "cylinder", 1.5, 255, 0, 0, 255) setElementInterior(marker1,0) -----ينقل الماركر الى العالم الخارج 0 تقدر تغيره تحط اي عالم اخر addEventHandler ("onMarkerHit", getRootElement(), function ( player ) if (source == marker1) then ---اسم الماركر sett(player, 246.47124, 83.76164, 1003.64063, 6, 0) --- ينقلك الى Interior ----sett(player, x, y, z, Interior, Dimension) -- شرح اللي فوق تحط الأحداثيات ورقم العالم end end )
  6. كفووووووووووو والله ياسورا أهنيك عالمود الرائع كذا راح تريح الواحد من كتابة الميتا تسلم عالطرح تقبل مروري البسيط
  7. أهنيك على هيك ابداع ياسوسو فجرت ام القسم دايم سكربتاتك تهبل لاتحرمنا من جديدك تحياتي
  8. Go to freeroam/ fr_server fr_server remove this on line 331 addEventHandler('onPlayerChat', g_Root, function(msg, type) if type == 0 then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox(getClientName(source) .. ': #FFFFFF' .. msg:gsub('#%x%x%x%x%x%x', ''), g_Root, r, g, b, true) end end )
  9. يالغالي حلك سهل ركب ملف acl جديد ومود ادمن جديد وراح تلاقيه يسجل معك واي مساعدة امرني بس
  10. function showtime ( thePlayer ) country = exports.admin:getPlayerCountry ( thePlayer ) if country == "Saudi Arabia" or country == "SA" then time = getRealTime ( ) hours = time.hour + 3 minutes = time.minute outputChatBox ( "Local Time: "..hours..":"..minutes ) end end addCommandHandler ( "time", showtime ) سؤآل : وش دخل time ذذ + ابيها على لبل ما اشوف لبل ذذ وشكرآ مقدمما شوف الأختصار المستخدم في الشات تقدر تستخدمه على ليبل guiSetText (myLable, "Local Time: "..hours..":"..minutes )
  11. MR.S3D

    ComboBox

    You're welcome.
  12. MR.S3D

    ComboBox

    This is an example to remove all the teams in the current resource local function count(team) return countPlayersInTeam ( getTeamFromName ( team ) ) --- to get all players in team end addCommandHandler("Team", function() for _, AllTeams in ipairs ( getElementsByType ( "team",getResourceRootElement(getThisResource())) ) do Players = count(getTeamName(AllTeams)) if Players == 0 then -- If there is no one in the team destroyElement(AllTeams) --- destroy team end end end)
  13. انت كذا راح تكرر الفيريبل يعني لو فرضنا ضغط 100 مره ماراح يصير ايقاف للصوت وانا مجرب ذا الشي + توني حطيته في المجاني وكرر فوق 5 مرات وماصار يطفي
  14. حياك ياغالي في الخدمة اي وقت
  15. العفو ============ @MR.S3D < الرجأإل طلبني اشرح له وظيفة إيقاف الصوت , ما جاب طآري التكرار : / الأفضل أنك تسويه مايتكرر يعني هو راح يحطه في رومه وراح يرجع هناا ويقلك يتكرر يعني من البداية سو كودك من دون مشاكل
  16. MR.S3D

    Export, calling

    function changeAlpha ( commandName, alphaAmount ) alphaAmount = 255 guiSetAlpha ( RankingBoardDrawing, 255 ) setTimer ( delayedRankingBoardDrawing, 4000, 1) end addCommandHandler ( "alpha", changeAlpha )
  17. MR.S3D

    ComboBox

    What do you mean 50 team؟
×
×
  • Create New...