Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 17/07/17 in Posts

  1. امزح لكن حاول تتعلم افضل لك
    3 points
  2. to get distance u can use it in Client or Server because it's shared function : https://wiki.multitheftauto.com/wiki/GetDistanceBetweenPoints3D to make it visible or fade it: https://wiki.multitheftauto.com/wiki/SetElementVisibleTo but it only work in serverSide so u can use the alternative u can use it in Client or Server because it's shared function: https://wiki.multitheftauto.com/wiki/SetElementAlpha also u can check the alpha if u want with this function: https://wiki.multitheftauto.com/wiki/GetElementAlpha it's also shared function i hope i was able to help you +_+
    2 points
  3. Heya, This is a small project I've spend three days on so far. I was bored of the same old desert so I decided to add a canyon. I feel like this gives the desert a fresh, new feeling while still retaining the good ol' San Andreas vibe. https://www.youtube.com/watch?v=RwetzEnNs-8&feature=youtu.be Things I've yet got to do: Create LOD models. Prelight the models so they fit in more with the enviroment. Small tweaks here and there. Let me know what you think! -Noah
    1 point
  4. SAEG RPG - New MTA Server! These days I've been thinking about creating a RPG server from scratch. I know it's not easy but since May +/- I have been learning LUA (MTA) and I'm already familiar with the process, however, I'll need someone else to help me in this new adventure! I need to get interested and trusted people to take this protect forward, including: DX Profesional Programmer (to work with me) Designer (Photoshop) Resources The server should have: Jobs Bank Temporary Vehicles spawner Vehicle Shops Inventory Trade system Used vehicles shop (players can trade vehicles with other players) Jail (Map + Script) Drug delivery and other criminal scripts VIP system Bank Robbery Casino Robbery Other scripts... All advanced scripts will be scheduled by the server programmers, only the most basic will be downloaded from the community! All scripts will be based on MySQL to work. This is because all the information is gathered in one place so accessible from anywhere in the world, while SQLite is just a file that can only be "treated" by the game... Screen Shots http://imgur.com/a/1ryRd (we will uplaod more ) Conclusion i want SAEG:RPG to be the top of the mta servers ... i know it's hard but not problem if i try Players Record : 47 Players per day : 25/35
    1 point
  5. Hi guys, i've written a login panel in pure lua with material design style
    1 point
  6. كيف حالكم ان شاء الله بخير اليوم معنا سكربت ماركر اعطاء الفلوس , يجي واحد يقولي كيف ماركر اعطاء فلوس بكل بساطة تسوي ماركر بالاحداثيات الي انت تبيها , والفلوس الي انت تبيها وتضغط الزر , وتفعل او تعطل الماركر كيف افعل او اعطل الماركر , يعني لو حطيت الفلوس وكل شي وسويت الماركر تضغط على زر تفعيل , اول مايخش الماركر راح يعطيه المبلغ الي انت حطيته واذا ضغطت على زر تعطيل , اول مايخش الماركر وانت محدد الفلوس وكل شي ماراح يسوي اي شي لين ماتفعل طبعا كلها بزر واحد , نشوف صورة للسكربت صورة اللوحة صور لجلب الاحداثيات ووضعها بالايدت صورة بعد ماحددت السعر وسويت الماركر , وجيت افعله صور بعد مادخل صديقنا سعد للماركر , وكان الماركر مفعل صورة بعد ماحذفت الماركر http://b.top4top.net/p_991cix2.png صورة للغة العربية مميزات السكربت : 1- تقدر تغير وتحط احداثيات الي تبيها عشان ينشأ الماركر 2- تقدر تفعل او تعطل الماركر , بمعنى مايدخل ياخذ فلوس لو كان معطل والعكس 3- يطلع اسم الي اخذ الفلوس بالشات والفلوس الي كسبها , ويتعطل الماركر بعد ماياخذ الفلوس 4- تقدر تحذف الماركر 5- اول ماتسوي الماركر , راح يكون معطل 6- يدعم اللغة العربية واللغة الانجليزية يمديك تغير , شفافية , حجم الماركر من الاعدادات يمديك تغير الكلمة الي تفتح اللوحة , تغير القروب الي تفتح له اللوحة من الاعدادات السكربت مشفر لحفظ الحقوق فقط لاغير الاهداءات 1- تنطيل 2- جوست بوي 3- سعد 4- رولكس 5- سترونج 6- توبي 7- طعمية ( دابل ) ء 8- احزان 9- راجو والي نسيناه يبقى في المعدة مكانه ضض التحميل http://www.up-00.com/?5xfp http://up.top4top.net/downloadf-99llcm1-zip.html هذا وصلى الله على نبينا محمد وسلم
    1 point
  7. تنظر ولا تناظر
    1 point
  8. ^ هوا يبي لما يكتب مو يضعط زر local table = { "dev", "dd" } addEventHandler ( "onClientGUIChanged", edit, function ( ) for i,v in ipairs ( table ) do local text = guiGetText ( source ) if string.find ( text, v ) then -- your code end end end)
    1 point
  9. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    1 point
  10. الأول "onClientGUIChange" string.find -- دور على الكلمات اللي بالجدول guiSetText الطلب الثاني مافهمت شي ووش ذا قارد لست
    1 point
  11. عادي يرجال أبو سولو فداه سيرفرات اللعبه كلها وهو يختار اذا يبغى واحد مننا ولا ثنينا
    1 point
  12. هو قال مايضر 2 اذا تبي مساعد مو مشكلة موافق
    1 point
  13. For some reason you seem to have the exact same problem as this guy: https://forum.multitheftauto.com/topic/97505-texture-problems-solved/ who got it solved following the steps listed. (you got hardware misdetection, driver version corruption like GPU driver being partially recognized) and similar symptoms of texture problems. Give me a while as I tailor the same/similar instructions to your PC. EDIT: quote from that other topic, however edited to suit your PC;
    1 point
  14. Start with showing a screenshot of said texture problem/rendering bugs. After posting that screenshot or video; Please download, extract and run MTADiag and follow the instructions. Press 'n' when asked. Post any Pastebin URL MTADiag gives you @Kojak
    1 point
  15. شكلك فاهم الموضوع غلط انا حطيت الموضوع د لو حدا يبيني اصمم له مودات او مابات بمقابل مادي يجي خاص او سكايب
    1 point
  16. لا خلاص انا موافق قبلك ههههههههههههههههههههههههههههه
    1 point
  17. أول مشكل أستعمل فيه فنكشنات SQL احسن حل والله و ثاني مشكل يوم تسجل زي ما قلت انت دي إكس استعمل removeEventHandler("onClientRender", root, funcName) funcName = إسم الفنكشن*
    1 point
  18. First you dbPoll that query you can then just send over the Lua table with triggerClientEvent / triggerClientLatentEvent depending on the amount of players you have in the database. You can then use a loop to create the grid. There should be number of examples on the wiki that shows how to populate gridlists, the only difference here would be that you're populating from a MySQL result table.
    1 point
  19. الف شكر يا كيلر انا عروح دلوقتى ابدء حياتى بقى فى تعلم برمجه وان شاء الله اصبح محترف واشارك معاكم فى منتدى جميل ده بدايه خير •
    1 point
  20. حياك الله يا محمد في البداية طلبات البرمجة في هذا القسم القسم الخاص بالبرمجة وهذي بعض الشروحات اللي مسويها لو تبي تستفيد اكثر وفيه اكثر من شرح لأكثر من كود تقدر تدور هنا دروس في البرمجة اما هنا ( في هذا القسم: القسم العام ) تقدر تدردش مع باقي الاعضاء القسم العام: يشمل كل هذي الاقسام وهذا قسم الخوادم لو تبي تشتري سيرفر او خادم سيرفرات او لو تبي شروحات عن الاستضافات الخ اما هذا القسم الخاص بالمساهمات واللي هو بيتم عرض مودات / سكربتات اعضاء المنتدى فيه واللي تقدر منه تحمل المودات اللي هم عارضينها او لو تبي تعرض انت كمان
    1 point
  21. If you still get that string error try to use 'tonumber'.
    1 point
  22. بدل الي قلت لك عليه وتأكد انك يوم ارسلت الترايقر للاعب فقط موب للجميع
    1 point
  23. @Master_MTA يب انا عدلت على ردي وقلت له يستعمل @Deativated source بـ resourceRoot للاعب وبدل
    1 point
  24. db = dbConnect( "sqlite", ":resname/file.db" ) resname = اسم المود الي موجودة فيه قاعدة البيانات file.db = اسم قاعدة البيانات بعدين عدل عليها سواء تضيف تحذف الي تبيه
    1 point
  25. if you pass 360 in function or any other value result would be like this totalHours = 360 hours = (360/60) -- > 6 hours = 360 - (6*60) -- > 0 and btw i cant understand why you doing this
    1 point
  26. يب للمعلوميه الفنكشن دا بيستخدم في حاله الـ destroyElement بس
    1 point
  27. local mouseSensitivity = 0.3 local invertMouseLook = false local speed = 0 local strafespeed = 0 local rotX, rotY = 0,0 local function freecamFrame () local cameraAngleX = rotX local cameraAngleY = rotY local freeModeAngleZ = math.sin(cameraAngleY) local freeModeAngleY = math.cos(cameraAngleY) * math.cos(cameraAngleX) local freeModeAngleX = math.cos(cameraAngleY) * math.sin(cameraAngleX) local camPosX, camPosY, camPosZ = getCameraMatrix() local camTargetX = camPosX + freeModeAngleX * 100 local camTargetY = camPosY + freeModeAngleY * 100 local camTargetZ = camPosZ + freeModeAngleZ * 100 local camAngleX = camPosX - camTargetX local camAngleY = camPosY - camTargetY local camAngleZ = 0 local angleLength = math.sqrt(camAngleX*camAngleX+camAngleY*camAngleY+camAngleZ*camAngleZ) local camNormalizedAngleX = camAngleX / angleLength local camNormalizedAngleY = camAngleY / angleLength local camNormalizedAngleZ = 0 local normalAngleX = 0 local normalAngleY = 0 local normalAngleZ = 1 local normalX = (camNormalizedAngleY * normalAngleZ - camNormalizedAngleZ * normalAngleY) local normalY = (camNormalizedAngleZ * normalAngleX - camNormalizedAngleX * normalAngleZ) local normalZ = (camNormalizedAngleX * normalAngleY - camNormalizedAngleY * normalAngleX) camPosX = camPosX + freeModeAngleX * speed camPosY = camPosY + freeModeAngleY * speed camPosZ = camPosZ + freeModeAngleZ * speed camPosX = camPosX + normalX * strafespeed camPosY = camPosY + normalY * strafespeed camPosZ = camPosZ + normalZ * strafespeed camTargetX = camPosX + freeModeAngleX * 100 camTargetY = camPosY + freeModeAngleY * 100 camTargetZ = camPosZ + freeModeAngleZ * 100 setCameraMatrix ( camPosX, camPosY, camPosZ, camTargetX, camTargetY, camTargetZ ) end local function freecamMouse (cX,cY,aX,aY) local width, height = guiGetScreenSize() aX = aX - width / 2 aY = aY - height / 2 if invertMouseLook then aY = -aY end rotX = rotX + aX * mouseSensitivity * 0.01745 rotY = rotY - aY * mouseSensitivity * 0.01745 local PI = math.pi if rotX > PI then rotX = rotX - 2 * PI elseif rotX < -PI then rotX = rotX + 2 * PI end if rotY > PI then rotY = rotY - 2 * PI elseif rotY < -PI then rotY = rotY + 2 * PI end if rotY < -PI / 2.05 then rotY = -PI / 2.05 elseif rotY > PI / 2.05 then rotY = PI / 2.05 end end function FreeCameraEnable(command, h) setCameraMatrix(x, y, z) addEventHandler("onClientRender", root, freecamFrame) addEventHandler("onClientCursorMove",root, freecamMouse) end addCommandHandler("startcam", FreeCameraEnable) function FreeCameraDisable(command, h) setCameraTarget(localPlayer) removeEventHandler("onClientRender", root, freecamFrame) removeEventHandler("onClientCursorMove",root, freecamMouse) end addCommandHandler("stopcam", FreeCameraDisable) Команда /startcam активирует, /stopcam деактивирует. Для перемещения камеры по клавишам надо дописывать скрипт. Всё уже реализовано в mods\deathmatch\resources\[editor]\freecam.zip
    1 point
  28. هو مشكلته ان اليوزفل فنكشن ممكن يسبب لاق بسيط مافي مشكله لاكن الحين , وش الحل البديل هو قال لو المركبه انفجرت انا قلت , طيب لو انشالت بـ اي طريقه ثانيه تستعمل فيها فنكشن destroyElement انا افهمك وش القصه مشان انا مو فاهم وش تبي تقول انت
    1 point
  29. Utopia Democratic Community Introduction; UDC is a CnR/RPG server based on Roleplay, was founded on 26th May, 2017. This gameserver isn't as usual, you'll have the opportunity to express your likes, the server will contain fresh resources, and not leaked ones. Our current goal is to make an enjoyable community with cool features and offer our users a great experiance during their visit, we are willing to make a perfect gameplay. Nevertheless, we have a massive lack of staffs. Staffs Requirements; Acceptable English skills. Enough experiance in this gamemode (CnR/RPG) General knowledge about the staff duty. Mature and wise person. Mappers Requirements; Acceptable English skills. Enough experiance in mapping domain. Mature and wise person. Contact Details; Forums Facebook Skype: blid.boy93
    1 point
  30. سلام عليكم ورحمة الله تعالى وبركاته اليوم يا جماعة خلصت مود الكلان وار حقي يمكن اغلبكم ما يعرف وش فكرته لكن هي متداولة أكثر عند الأجانب ض ، الفكرة هي حرب تيمات فيه عدد من المابات تلعبها ، حرب او اي شي تبي وتنقص وتيزد نقاط زائد لو القيم مود حق الريس ينقص ويزيد لوحده أوريكم الصور فيها ميزة العد التنازي بعد لو احد يبي يستخدمها الحين نجي للسعر ض2 انا اشوف 10 دولار مناسبة لاني والله تعبت شوي وانا احاول ازبط الخصائص للتواصل : skype : Conolel44 في أمان الله
    1 point
  31. وعلكيم السلام . بمأ انك اول مود تقريباً تبيعه , صراحتاً شغل خورافي , أهنيك , بالتوفيق لك بالمستقبل .
    1 point
  32. First do: apt-get update apt-get upgrade Once you have downloaded it then unpack it into a directory with command: tar -xf multitheftauto_linux_x64-1.5.4.tar.gz Next step is to remove the old config files and download new ones: rm -f baseconfig-1.5.4.tar.gz wget http://linux.multitheftauto.com/dl/154/baseconfig-1.5.4.tar.gz *some more steps* Check the wiki page for more info: https://wiki.multitheftauto.com/wiki/Installing_and_Running_MTASA_Server_on_GNU_Linux Finally you can run your server: ./mta-server64 If you face any problems then reply here.
    1 point
  33. السلام عليكم .. المود رائع لاكن انصحك تحطه افضل في القسم الاجنبي والسعر خليه 15 دولار بالتوفيق لك
    1 point
  34. Am să fiu de-acord cu 'colegii' mei.Dacă nu ai idee cu ce se mănâncă scripting-ul nu are rost să încerci să deschizi servere pentru că nu o să ai jucători.Ți-aș propune să începi să înveți scripting pas cu pas cu resurse mici, apoi, după ce începi să te pricepi, să încerci un ditamai gm-ul complex de rp.
    1 point
  35. I still like using more interpolateBetween
    1 point
  36. I won't lie to you, you're good at it, more than I would normally thought of. The only problem with what you've done is the pool which looks a little bit weird, as it was already stated in previous comments. 7/10
    1 point
  37. سيرفر بسول ^ , لعبت فيه من اول مافتح , كل مانجمع ونتعب يحذف الاغراض والفلوس كل مانتعب ونجمع يقفل السيرفرر ونظام الروم الي يدفع هو الغني موفقين ء
    1 point
  38. ولا يهمك اخوي بننتظر القادم مشكور
    1 point
×
×
  • Create New...