Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 14/07/19 in all areas

  1. Hey, folks! I've decided to release this lobby I made about a year ago since it's been left unused (the project disbanded). The lobby itself is fully functional and dynamic, meaning it can (should) adjust to any amount of rooms available (pagination). There's also a fancy effect when you hover over a room, plus a few other cool features. Should you look at the code, you may notice that it's not fully finished. The design was made by airplanE, and I put it into effect. Let me hear what you think! Grab it here: [REMOVED]
    1 point
  2. I was bored and long time without do any script so I started looking in the wiki some functions what I not used yet and I found dxDrawMaterialLine3D. You have a video and code about a scoreboard what I made for test this function. Maybe this can be useful for you ( take scrollbar, etc ). Client-Side code:
    1 point
  3. السلام عليكم و رحمه الله و بركاته اليوم حبيت اسوي مود سهل و خفيف بيساعد المبرمجين في البرمجه بشكل كبير طبعا كنت معتزل و لي سنه ما نزلت شي جديد فحبيت اسوي خير شويه المود عباره عن نظام صلاحيات للحسابات وش فايدته .... ؟ مثلا عندك لوحه و تبي تخليها لكم لاعب فقط تقدر تستعمل السكربت عشان تخصص اللوحه لحسابتهم فقط او مثلا عندك لوحه و بها ازرار كتير و مثلا تبي زر يكون خاص للاعب بكل سهوله تقدر تستعمل السكربت السكربت هدفه توفير الوقت + طبعا عدم استخدام طرق التحققات الشائعه بين المبرمجين الي احيانا تسبب مشاكل للسيرفر --------------------------------------------------------------------------------------------------------- Export Functions / الوظائف الي تستطيع استدعائها Server Side : createPremission deletePremission addPremissionToAccount removePremissionFromAccount Client/Server ( Shared ) : getAllPremissions isAccountHasPremission getAccountsWithPremission getPremissionTable isPremissionExist Client Side : getClientAccount ------------------------------------------------------------------------------------- شرح الوظائف : createPremission تستخدم هذه الوظيفه لعمل صلاحيه جديده Usage : createPremission ( premissionName ) premissionName = اسم الصلاحيه الي تباها deletePremission تستخدم هذه الوظيفه في مسح صلاحيه موجوده من قبل Usage : deletePremission ( premissionName ) premissionName = اسم الصلاحيه addPremissionToAccount تستخدم هذه الوظيفه لاعطاء صلاحيه للحسابات .. Usage : addPremissionToAccount ( AccountName , Permission ) AccountName = اسم الحساب Permission = الصلاحيه removePremissionFromAccount تستخدم هذه الوظيفه في مسح صلاحيه من حساب Usage : removePremissionFromAccount ( Account , Permission ) Account = اسم الحساب Permission = الصلاحيه getAllPremissions تجيب لك الصلاحيات الموجوده Usage : getAllPremissions () الوظيفه ترجع لك جدول فيه الصلاحيات الي موجوده isAccountHasPremission تتحقق اذا كان الحساب عنده الخاصيه او لا Usage : isAccountHasPremission ( AccountName , Permission ) ترجع القيمه boolean getAccountsWithPremission تجيب لك الحسابات الي عندها صلاحيه محدده Usage : getAccountsWithPremission ( Permission ) Permission = اسم الصلاحيه ترجع لك جدول فيه اسماء الحسابات الي عندها الصلاحيه ذي getPremissionTable تجيب لك الجدول الكامل للصلاحيات الجدول كالتالي : Permissions = { PermissionName = { Accounts ...... }, etc........... } isPremissionExist تتحقق لك اذا كان في صلاحيه بالأسم الي انت مسويه من قبل او لا Usage : isPremissionExist ( PermissionName ) getClientAccount تجيب لك اسم حساب اللاعب في الكلينت سايد Usage : getClientAccount ( Player ) لو اللاعب مو مسجل بيرجع لك قيمه guest -------------------------------------------------------------------------------------------- طبعا المود يحفظ الصلاحيات لو وقف المود و اشتغل مره تانيه .. *NOTE : لسا ملاحظ اني كتبت كلمه Permission غلط معلش مخدتش بالي رابط التحميل : PERMISSIONS SYSTEM Ver: 1.0.0 المود مو مشفر للي حابب يتعلم كدا كدا المود مخصص للمبرمجين :- UPCOMING SCRIPT / السكربت القادم Resources Manager ( V3 )
    1 point
  4. سلام عليكم تم افتتاح سيرفر ميتال جيمينج لحرب العصابات المودات خاصة فينا خاصة بى اخى soking ماعدا اف 3 من قيم مود اجنبى مجانى لى الاسف السيرفر ناقصة حاجات مهمة مش هقول عليها وانشغال صديقى سوكينج ولايوجدة غيرة من يساعنى وانتم الشكل بتاع السيرفر دة ليس الشكل النهائى السيرفر فية وظفتين بس وفى حاجات ناقصة السيرفر ان شاء الله هيكون فى حاجات تانية لما سوكينج ينتهى من انشغالة هيبقى فى اضافات كتيررر لا استطع فعلها لانى لست مبرمج وشكرا لكل واحد فى القسم العربى ساعدنى فى شى لانكم ساهمتوة فية كتير فى احتمال لو السيرفر منجحشى يتحول لى رول بلاى ولكن مودات ليست خاصة بنا السيرفر مفيهوش سجن اتركم مع الصور شوفوا كل الصور اختيار السكنات بالماوس وفى كل تيم سكنات بنات حتى الشرطة اضافة سى جى للطحالب السكنات الوحاجات البسيطة دى من عمايلى فى الشرطة الماركر موجود كل سيارات الجيش وسوات والسيررف ليمتد فريم 100 مكان المهمات التنين الاصفر حياكم الله ولو منجحش ممكن يبقى رول بلاى او اى قيم مود تحبوة mtasa://212.24.109.178:28515
    1 point
  5. In the first case, the first argument is the player who typed the command, and it's up to you to call it whatever you want. in the second case the source gotta be defined in the parent event/function, also it refers for "which element (player) am i going to trigger this event for?" also, the source is most likely to be hidden, you will find what it refers to when you search about the parent event in the wiki (would be like "The source of this event is ...")
    1 point
  6. بس خسرت وقت سوكنق, والوقت من الذهب - كان عنده فرصة انه يذهب ويبرمج لغيرك بمقابل ويكسب اكثر من الي سويته الحين لازم ماتهدر الثقة الي وضعها فيك والي منها عطاك سكربتاته مبدئياً: - نسق موضوعك, حتى لو ماتعرف استشير اي أحد يساعدك - لا تخلي سيرفرك ناقص, كمله ولو بأي سكربتات وبعدين اصنع بدالها سكربتات من طرفكم - تميز بأفكار جديدة - أتعب وكد بالسيرفر مستحيل الواحد ينجح بدون تعب, انشاء سيرفر وجعله احد افضل السيرفرات مستحيل يكون بالسهولة الي تتوقعها
    1 point
  7. Hello, just wanted to give a simple gift to many people who keep having a problem with the LS CityHall flag to either replace it, or delete it from the Map and make a new LS CityHall for MTA. or change the flag texture as the Map Editor doesn't detect it. the same as many other objects. so i am giving you a way to fix this problem. i can make a tutorial if you guys want on how to remove other undetected objects. Object name : LAcityhallTrans_LAn Object model : 4003 HOW TO : 1- go to the map file that has the CityHall Map usually at : C:\Program Files (x86)\MTA San Andreas 1.5\server\mods\deathmatch\resources\<MapName>\ 2- Enter the <MapName>.map file there with an editor like notepad ( there is only one file has an extension of *.map) 3- in the end of the file add this line : <removeWorldObject id="removeWorldObject (LAcityhallTrans_LAn) (1)" radius="96.110512" interior="0" model="4003" lodModel="4024" posX="1484.36389" posY="-1749.83789" posZ="30.61433" rotX="0" rotY="0" rotZ="0"></removeWorldObject> 4- if the map is already open in your local server, then please reopen the map <MapName> Enjoy
    1 point
  8. addDebugHook ابداً لا تستخدمه في شيء غير الديبق, تستخدمه فقط لمعرفة أماكن حدوث وإيقافها يدوياً.. استخدم حدث عند موت اللاعب وسوي رسباون للاعب في نفس المكان الي مات فيه وسوي تايمر 5 دقائق واقتل اللاعب.. وحط جدول تعرف أن اللاعب ميت وعلى وضع القوست وقلل من الشفافية حقته حتى يفرقون عنه اللاعبين ghostTable = {} "onPlayerWasted" spawnPlayer table.insert -- to ghostTable setElementAlpha -- To make it ghost setTimer killPed table.remove -- from ghostTable setElementAlpha -- To back normally
    1 point
×
×
  • Create New...