
MR.S3D
Members-
Posts
732 -
Joined
-
Last visited
Everything posted by MR.S3D
-
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 )
-
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)
-
ام البرمجة حقتك
-
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 )
-
كفووووووووووو والله ياسورا أهنيك عالمود الرائع كذا راح تريح الواحد من كتابة الميتا تسلم عالطرح تقبل مروري البسيط
-
أهنيك على هيك ابداع ياسوسو فجرت ام القسم دايم سكربتاتك تهبل لاتحرمنا من جديدك تحياتي
-
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 )
-
يالغالي حلك سهل ركب ملف acl جديد ومود ادمن جديد وراح تلاقيه يسجل معك واي مساعدة امرني بس
-
Looks awsome! Great job.
-
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 )
-
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)
-
انت كذا راح تكرر الفيريبل يعني لو فرضنا ضغط 100 مره ماراح يصير ايقاف للصوت وانا مجرب ذا الشي + توني حطيته في المجاني وكرر فوق 5 مرات وماصار يطفي
-
حياك ياغالي في الخدمة اي وقت
-
العفو ============ @MR.S3D < الرجأإل طلبني اشرح له وظيفة إيقاف الصوت , ما جاب طآري التكرار : / الأفضل أنك تسويه مايتكرر يعني هو راح يحطه في رومه وراح يرجع هناا ويقلك يتكرر يعني من البداية سو كودك من دون مشاكل
-
function changeAlpha ( commandName, alphaAmount ) alphaAmount = 255 guiSetAlpha ( RankingBoardDrawing, 255 ) setTimer ( delayedRankingBoardDrawing, 4000, 1) end addCommandHandler ( "alpha", changeAlpha )
-
Very nice work.