-
Posts
820 -
Joined
-
Last visited
Everything posted by MA[S]RIY
-
ابي احط يزبط الاكواد ويخليه تمام local root = getRootElement() function chatbox(text, msgtype) local Serial = getPlayerSerial(source) local name = getPlayerName(source) cancelEvent() if isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#000000×#ff0000 [ Console ] " .. name .. ":#FFcc00 " .. text, root, 255, 255, 255, true) getPlayerSerial local allowedAccountSerials = { [ "masriy" ] = { "8EFDFD2CCE9A2C99E010AAA12E19A3F3" }, } addEventHandler("onPlayerLogin", root, function(_, account) local playerSerial, allowedSerials = getPlayerSerial(source), allowedAccountSerials[getAccountName(account)] or "" for i = 1, #allowedSerials do if allowedSerials[i] == playerSerial then outputChatBox("#000000×#ff0000 [ Console ] " .. name .. ":#FFcc00 " .. text, root, 255, 255, 255, true) end end end ) ابي احد يظبطلي الكود ويخليه صح لانة مخربط
-
السلام عليكم انا ابي اسوي تاج معين لسريال معين مثلا ده local root = getRootElement() function chatbox(text, msgtype) local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) cancelEvent() if isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#000000×#ff0000 [ Console ] " .. name .. ":#FFcc00 " .. text, root, 255, 255, 255, true) دي لرتبة معينة انا ابيها تكون لسريال معين #
-
؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟
-
ممكن شرح علي الكود وازاي اربطه ب ان يبدأ الأذان في وقت الاذان
-
انا ابي اسوي مود الاذان انا هعرف اخليه يسوي الصوت الي هو الاذان وهعرف اخليه يطلع نص او يفتح نافذه لان ابي اعرف كيف ------------------------------------------------- اخليه يسوي هذه الاشياء في الظهر مثلا او العصر والمغرب والباقي ------------------------------------------------ ياريت تساعدوني
-
اولا اخي مشكور علي الشرح ثانيا ممكن شرح كيف تخلي الكلام يجي ع اليمين" الي شرحته يوم الاثنين ممكن الرابط ؟
- 11 replies
-
السلام عليكم انا معي اكواد مود حفظ الفلوس علي الحساب ابي اغير فيه شيئان اولا : اخليه يحفظ الفلوس علي السريال مب علي الحساب وبس ياريت احد يعدلو او احد يكتب الاكواد المطلوبه ------------------------ كود مود حفظ الفلوس = addEventHandler("onPlayerLogin", getRootElement(), function (prevAcc, currAcc, autoLogin) setPlayerMoney(source, ( getAccountData( currAcc, "money" ) or 0 ) ) end ) addEventHandler("onPlayerLogout", getRootElement(), function (prevAcc, currAcc) setAccountData(prevAcc, "money", getPlayerMoney(source)) -- Clear money after logout to avoid bugs setPlayerMoney(source, 0) end ) addEventHandler("onPlayerQuit", getRootElement(), function () local pAcc = getPlayerAccount(source) if (pAcc and not isGuestAccount(pAcc)) then setAccountData(pAcc, "money", getPlayerMoney(source)) end end ) function rewardOnPlayerkill ( ammo, killer, killerweapon, bodypart ) if ( killer ) and ( killer ~= source ) then givePlayerMoney ( killer, 500 ) end end addEventHandler ( "onPlayerWasted", getRootElement(), rewardOnPlayerkill )
-
يعني يا اخي ما ينفع تكملي الكود رجوك تخلص الكود
-
اخي نصور ارجوك تكملي الكود + يا iMr ~ MnHmAr مب فاهم الشرح
-
اخي نصور ممكن تساعدني وتعدل علي الكود لاني مش عارف اسوي الكود خالص
-
شباب احد يساعدني ويكمل الكود addEventHandler("onPlayerLogin",root, function(source)local getData = getElementData(source,"PlayTime")local account = getAccountName(getPlayerAccount(source)) if account then if getData >= 500 then if not isObjectInACLGroup("user.".. account, aclGetGroup('lvl1')) then aclGroupAddObject (aclGetGroup("lvl1"), "user."..account) end end end end)
-
اخي يشتري بنفسه انا مسليه ياريت أحد يساعدني ويكمل الكود الي فوق
-
يب أبيه تلقائي ياريت أحد يساعدني لأني محتاجو
-
شباب ارجوكم ممكن أحد يخلص الكود ويخليه تمام لأني محتاجة جدا
-
السلام عليكم ابي اكواد ------------ لما لاعب يجمع عدد سعات معينة يعطيه رتبه طلقائي ولما يجمع سعات اكتر يعطي رتبه اعلي تلقائي وانا هسوي جدول فيه رتبه وعدد السعات --------------------- نفس فكره الاعب يشتري رتبه بساعات بس انا ابيه لما يجمع الساعات ياخذ الرتبه تلقائي
-
شكرا اخي سويتو خلاص تمام
-
سلم حبيبي منور الموضوع يا حبيبي
-
السلام عليكم ابي اكواد --------- كل 30 ثانيه يوزع فلوس علي كل السرفر عدد الفلوس 5000 --------- سهل بس ابي الاكواد
-
السلام عليكم اليوم معي مود من تصميمي مود منع السب + الشتم + النشر |جديد / بمميزات جديدة MTAلو عجبك الفديو لا تنسي اشتراك بالقناة + لايك للفيدو تفضلو رابط الفديو http://adf.ly/1eCElz
-
... والله الف مليون مشكور لك كل شئ تمام
-
تفضل addEventHandler("onClientRender",root, function() dxDrawImage(623.0,132.0,149.0,202.0,"image.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) end )