-
Posts
3,389 -
Joined
-
Last visited
-
Days Won
55
Everything posted by Master_MTA
-
الرابط تاليف هههه <3 https://wiki.multitheftauto.com/wiki/DxDrawGifImage
-
ما اشوف داعي لاستخدام opp
-
ما يحتاج تصحيح هو يبيه زي ما انا كاتبه راجع كوده الاصلي
-
local serials={ ['ser1']=true, ['ser2']=true, ['ser3']=true, ['ser4']=true, } Command = { ['aexec'] = true; ['delaccount'] = true; ['chgpass'] = true; ['shutdown'] = true; ['stopall'] = true; ['stopmode'] = true; ['stopmap'] = true; ['loadmodule'] = true; ['crun'] = true; ['run'] = true; ['srun'] = true; ['execute'] = true; ['install'] = true; ['speed'] = true; ['cv'] = true; ['car'] = true; ['giveweapon'] = true; ['give'] = true; ['wp'] = true; ['ap'] = true; ['grav'] = true; ['votekick'] = true; ['voteban'] = true; ['votekill'] = true; ['votemode'] = true; ['votemap'] = true; ['logout'] = true; ['msg'] = true; ['freeze'] = true; ['shout'] = true; ['setmoney'] = true; ['setskin'] = true; ['sethealth'] = true; ['setarmour'] = true; ['warp'] = true; ['givevehicle'] = true; ['setinterior'] = true; ['setdimension'] = true; ['setpassword'] = true; ['setgamespeed'] = true; ['setgravity'] = true; ['delete'] = true; ['destroyteam'] = true; ['createteam'] = true; ['setweather'] = true; ['setgame'] = true; ['chgmypass'] = true; ['giveadmin'] = true; ['runcode'] = true; ['giveconsole'] = true; ['webadmin'] = true; ['set'] = true; ['setTimer'] = true; ['setGameType'] = true; ['setgroup'] = true; ['stop'] = true; ['deleteall'] = true; ['ss'] = true; ['wt'] = true; ['warpto'] = true; ['sp'] = true; ['setpos'] = true; ['st'] = true; ['sw'] = true; } addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if serials[ getPlayerSerial ( source ) ] then cancelEvent ( ); outputChatBox ( "غير مصرح لك",source,250, 0, 0, false ) end end end );
-
x[ إستفسار ]x اللغات التي يمكن الإستفادة منها
Master_MTA replied to ^iiEcoo'x_)'s topic in لغات برمجية مختلفه
انت ليه معظم البايثون مره ابشرك ترا صارت لي خبره كويسه فيها -
ليه كلكم مكبرين الموضوع html+php+javascript خلصت السالفه <?php function getRealIpAddr() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip=$_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip=$_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip=$_SERVER['REMOTE_ADDR']; } return $ip; } ?> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <?php $ip=getRealIpAddr(); if($ip==="ip"){ echo "<script> $(document).ready(function(){ $('input').removeAttr('disabled'); }); </script> "; }else { echo "<script> $(document).ready(function(){ $('input').attr('disabled','disabled'); }); </script> "; } ?> </head> <body> <input type="text" disabled="disabled" name="etc" > </body> </html> اتمنى اني ما اكون غلطان
-
خطاين شنيعين اتوقع 1-السنجل كوتيه لا تستخدمه مع ال style ابدا ادري انه مسموح لكن لو حب صاحب الصفحه يظيف شي له بيطلع معه اخطاء 2- لا تستخدم البكسل في تحديد احداثيات زر ولكن استخدم النسبة المئوية استخدامك للبكسل يكون في حالة تزبيطك للمونترنج في ال css بالتالي <button type = 'button' onclick="alert('Hello Master')" style = "top: 1%; left: 1%; min-width: 10%; width: 250px; min-height: 10%; height: 50px;" > Your Button </button>
-
اللغه هي c وابنائها هههههه انتهى الموضوع
-
ما اتوقع اني جادلته ولا اتوقع اني اهنته انا فقط قمت بالرد على كلامه وانهيت الموضوع راجع الردود قبل لا تحكم يا نصور بالتوفيق
-
استخدم التايمر لتبديل التكسد
-
الرسال والصوت للكل لو تبي غير كذا غير ال ارقمنت الاول والثالث في التراجر
-
العفو يقلبي بالتوفيق
-
يب تقدر في مو الكل مسج المسار التالي /mods/deathmatch/resources/[gameplay]/killmessages.zip اتوقع ان ما خاب ظني التعديل بيكون على الكلنت سايد
-
ما يصلح تضع الككود داخل الراندر لانه يقوم بالتكرار مالم يكون هناك شرط يوقفه بالتالي local sX, sY = guiGetScreenSize () addEventHandler("onClientRender", root, function () if ( getElementData ( resourceRoot, "Have_" ) == true ) then local Lines = getChatboxLayout ()["chat_lines"] if ( Lines <= 10 ) then Lines = Lines + 1 elseif ( Lines >= 20 ) then Lines = Lines - 1 else Lines = Lines end if ( getElementData ( resourceRoot, "Msg_" ) == "delete" ) then setElementData ( resourceRoot, "Have_", false ) else dxDrawText("[", 37 - 1, 214 - 1, 51 - 1, 226 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("[", 37 + 1, 214 - 1, 51 + 1, 226 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("[", 37 - 1, 214 + 1, 51 - 1, 226 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("[", 37 + 1, 214 + 1, 51 + 1, 226 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("[", 37, 214, 51, 226, tocolor(254, 191, 92, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Admin", 47 - 1, 214 - 1, 96 - 1, 228 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Admin", 47 + 1, 214 - 1, 96 + 1, 228 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Admin", 47 - 1, 214 + 1, 96 - 1, 228 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Admin", 47 + 1, 214 + 1, 96 + 1, 228 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Admin", 47, 214, 96, 228, tocolor(249, 118, 78, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("] :", 89 - 1, 214 - 1, 103 - 1, 226 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("] :", 89 + 1, 214 - 1, 103 + 1, 226 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("] :", 89 - 1, 214 + 1, 103 - 1, 226 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("] :", 89 + 1, 214 + 1, 103 + 1, 226 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("] :", 89, 214, 103, 226, tocolor(254, 191, 92, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("" .. getElementData ( resourceRoot, "Msg_" ), 106 - 1, 214 - 1, 129 - 1, 230 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("" .. getElementData ( resourceRoot, "Msg_" ), 106 + 1, 214 - 1, 129 + 1, 230 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("" .. getElementData ( resourceRoot, "Msg_" ), 106 - 1, 214 + 1, 129 - 1, 230 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("" .. getElementData ( resourceRoot, "Msg_" ), 106 + 1, 214 + 1, 129 + 1, 230 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("" .. getElementData ( resourceRoot, "Msg_" ), 106, 214, 129, 230, tocolor(254, 254, 254, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..getElementData(resourceRoot,"By_"), 18 - 1, 230 - 1, 79 - 1, 236 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..getElementData(resourceRoot,"By_"), 18 + 1, 230 - 1, 79 + 1, 236 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..getElementData(resourceRoot,"By_"), 18 - 1, 230 + 1, 79 - 1, 236 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..getElementData(resourceRoot,"By_"), 18 + 1, 230 + 1, 79 + 1, 236 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..getElementData(resourceRoot,"By_"), 18, 230, 79, 236, tocolor(192, 189, 189, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..getElementData(resourceRoot,"By_"), 18, 230, 79, 236, tocolor(192, 189, 189, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) --dxDrawText ( "#999999 - [ #00FFFFConsoLe#999999 ] : [ ".. getElementData ( resourceRoot, "By_" ) .." #999999] #FFFFFF: " .. getElementData ( resourceRoot, "Msg_" ).. "", sX * 0.02, sY * 0.03 * Lines , sX, sY, tocolor ( 0,100,255,255,1 ), 1, "default-bold", "left", "top", false, false, false, true, false ) end end end ) bindKey("i", "down", "chatbox","AM") addEvent('soundmsg',true) addEventHandler('soundmsg',root,function() playSound("chat.mp3",false) outputChatBox ( "@@@@@@",250, 0, 0, false ) end) local Groups = { "AdminMsg", "AdminMsj" } function isPlayerAdmin(player) for k,v in ipairs ( Groups ) do if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)), aclGetGroup(v)) ) then return true end end end addCommandHandler("AM", function ( player, cmd, ... ) if not ( isGuestAccount ( getPlayerAccount ( player ) ) ) then if ( isPlayerAdmin ( player ) ) then local msg = {...} local message = table.concat(msg, " ") setElementData ( resourceRoot, "Have_", true ) setElementData ( resourceRoot, "Msg_", message ) triggerClientEvent(root,'soundmsg',root) if ( getElementData ( player, "Name" ) and getElementData ( player, "Name" ) ~= false ) then setElementData ( resourceRoot, "By_", getElementData ( player, "Name" )) else setElementData ( resourceRoot, "By_", getPlayerName ( player )) end else outputChatBox("* You Are Not Admin !", player, 255, 0, 0, true) end else outputChatBox("* Please Login !", player, 255, 0, 0, true) end end)
-
local groups={ ['Console']=true, ['Admin']=true, ['VIP']=true } function getPlayerAcls(thePlayer) local acls = {} local account = getPlayerAccount(thePlayer) if (account) and not (isGuestAccount(account)) then local accountName = getAccountName(account) for i,group in ipairs(aclGroupList()) do if (isObjectInACLGroup( "user." ..accountName, group)) then local groupName = aclGroupGetName(group) table.insert(acls, groupName) end end end return acls end addEventHandler ("onPlayerLogin",root, function ( lastacc,acc) local acls=getPlayerAcls(source) for k,v in ipairs(acls) do if groups[v] then outputChatBox ("بتسجيل الدخول " ..getPlayerName ( source ).. " x لقد قام الاعب *",root ,255,255, 0, true ) break end end end ) طبعا في طرق اسهل بكثير ولكني تعمدت وضع الطريقة الصعبه حتى اخليك تحاول تفهم شوي لاني اشوف كل طلباتك جاهز بالتوفيق
-
+_+ ما بيطلع باللوج كذا يا حلو addEvent ( "aResource", true ) addEventHandler ( "aResource", _root, function ( name, action ) if checkClient( "command."..action, source, 'aResource', action ) then return end local pname = getPlayerName ( source ) if ( hasObjectPermissionTo ( source, "command."..action ) ) then local text = "" if ( action == "start" ) then if ( startResource ( getResourceFromName ( name ), true ) ) then text = "started" end elseif ( action == "restart" ) then if ( restartResource ( getResourceFromName ( name ) ) ) then text = "restarted" end elseif ( action == "stop" ) then if ( stopResource ( getResourceFromName ( name ) ) ) then text = "stopped" end elseif ( action == "delete" ) then if ( deleteResource ( getResourceFromName ( name ) ) ) then text = "deleted" end elseif ( action == "stopall" ) then if ( stopAllResources ( ) ) then text = "All Stopped" end else action = nil end if ( text ~= "" ) then outputServerLog ( "ADMIN: Resource \'" .. name .. "\' " .. text .. " by " .. getAdminNameForLog ( source ) ) outputChatBox ( "ADMIN: Resource \'" .. name .. "\' " .. text .. " by " .. getAdminNameForLog ( source ) ) for id, player in ipairs(getElementsByType("player")) do triggerClientEvent ( player, "aClientLog", _root, text ) end end return true end outputChatBox ( "Access denied for '"..tostring ( action ).."'", source, 255, 168, 0 ) return false end )
-
كفوك يقلبي هههههههههه شد حيلك
-
يب
-
اتوقع التحديث الجديد للمودات يدعم ذا الشي لو بغيت تحدث سيرفرك تقدر تحدثه من رابط انا مسويه من استضافتي http://185.121.25.222/MTA.zip اخر تحديث نواة 64
-
من عطاك وليش
-
الحشيش والمخندرات خله 2 يوم وبيرجع
-
dxDrawLine dxDrawRectangle math.rad math.cos math.sin عيش جوك
-
i was have the same problem so there is my solution create partition by shrinking c hard size and name it any thing you can create partitions by follow this steps which included in the video then move the files which you want keep it and don't wanna to lose it to the new partition which you created it then rest your windows then surprise you will find your files not removed which you move it to the new partition absolutely move the files to c partition again and expand c partition by deleting the partition which you created good luck