Leaderboard
Popular Content
Showing content with the highest reputation on 26/06/18 in Posts
-
2 points
-
2 points
-
local screenSize = Vector2(guiGetScreenSize()) local cursorPos = Vector2(getCursorPosition()) local mapMin, mapMax -- Transform the relative cursor position to absolute position cursorPos.x, cursorPos.y = cursorPos.x * screenSize.x, cursorPos.y * screenSize.y -- Calculate our map points vectors inside a block to delete intermediate variables automatically do local mx, my, Mx, My = getPlayerMapBoundingBox() mapMin = Vector2(mx, my) mapMax = Vector2(Mx, My) end -- If the cursor is inside the map rectangle if cursorPos.x >= mapMin.x and cursorPos.y >= mapMin.y and cursorPos.x <= mapMax.x and cursorPos.y <= mapMax.y then -- Get the relative position (in range [0, 1]) of the mouse point from the mapMin point -- 0 in a direction means that the cursor is in mapMin which is the top-left corner of the map -- 1 in a direction means that the cursor is in mapMax which is the bottom-right corner of the map local relPos = Vector2((cursorPos.x - mapMin.x) / (mapMax.x - mapMin.x), (cursorPos.y - mapMin.y) / (mapMax.y - mapMin.y)) -- Translate that relative position to 2D world coordinates -- Assumes the world map is a square whose side is 6000 units long local worldPlanePos = Vector2(6000 * (relPos.x - 0.5), 3000 - (relPos.y * 6000)) -- Get a 3D world position by adding the highest ground Z coordinate, which is what we usually want local worldPos = Vector3(worldPlanePos.x, worldPlanePos.y, getGroundPosition(worldPlanePos.x, worldPlanePos.y, 3000)) -- wordPos = a Vector3 containing the X, Y world position that was highlighted on the map and the Z of the ground position at that X, Y position. end The code used here is taken from the second example for getPlayerMapBoundingBox which is actually more applicable to your situation, I only show the important parts here.2 points
-
Color picker Dynamic lighting (Which will likely be added) Dx edit box Dx edit box mode 2 (Accepts numbers as well as x,*,+ and -) will automatically solve math problems when you hit enter (For easy offset editing or something)2 points
-
Currently I'm working on a new map editor with more features and a more user friendly UI however a major thing I'd like to see is what you (The Community) want to see added in the editor. If you respond with a feature request please state the name of the feature or tool as well as a brief description; I'll be posting some screen shots of what the new tool will look like as soon as I have the basic functionality done.1 point
-
* السلام عليكم ورحمة الله وبركاتة اليوم جيتكم بمود جديد واتوقع ماهو منشور من قبل ( م عمري شفتة بسيرفر )ء - مود القوانين مع مزايا 1 - امكانية اضافه او ازالة او تعديل القوانين من داخل السيرفر من دون الحاجة إلى فتح المود 2 - ازرار اضافة او ازالة او تعديل القوانين، تفتح فقط لمن سريالة داخل ملف ( settings ) 3 - خط خاص بالمود والقوانين 4 - اضافة كولمن يضهر فيه من قام بأضافة القانون 4 - لـتعديل الزر الخاص بـ فتح الوحة + السريالات، اتجةة لملف ( settings ) - الصور - هنا الواجةة الخاصة بالمود - هنا لوحة اضافة القوانين الجديدة - هنا الواجةة مره اخرى بعد اضافة قانون جديد - هنا لوحة تعديل القوانين - هنا الواجةة مرة اخرى بعد تعديل القانون - هنا زر حذف القانون - هنا الواجةة مرى اخرى بعد حذف القانون * رابط التحميل : https://community.multitheftauto.com/index.php?p=resources&s=details&id=15253 - وبالختام احب اشكر البطل الي شجعني وعلمني البرمجه @iMr.WiFi..! * ملاحظة هذا اول مود لي انشرة في المنتدى - الاهدائات * جميع اعضاء منتدى Mtasa1 point
-
السلام عليكم ورحمة الله وبركاته انا بيرو لدي قناة اقوم بنشر مودات جميله وحصريه عليها اليوم جئت لكم بمود السيفتي الخاص بسيارة الشرطه في الحياة الواقعية الرولي بلاي ومود فتح الزجاج للسيارة وهذا ينطبق علي اي نظام اخر غير الرولي بلاي هذا رابط الفيديو الروابط تجدونها اسفل الفيديو وشكرا لاتنسي الاشتراك والايك1 point
-
Salut, prin acest "story" vreau sa atentionez pe majoritatea ce doresc sa cumpere un gamemode/scripturi de la un Scripter Roman, Simple01. Prima oara cand am luat legatura cu Simple a fost prin luna Mai, eu dorind un gamemode pentru un server de Roleplay pe care il doream sa il deschid. A zis ca daca vreau un gamemode de la 0 poate dura pana la 3 luni cu + sau - , sau un gamemode cu o baza de date aleasa de mine la jumatate de pret fata de ce-l de la 0. Am ales sa mergem pe baza Paradise Roleplay cu un timp de finalizare aproximativ de 1 luna jumatate cu + -. Intelegerea de bun inceput unde am batut palma amandoi a fost sa ii dau mai intai jumatate din bani la inceput si la sfarsit inca jumatate. Pe parcurs am fost amanat de cateva ori cu pretextul ca "o data ce nu i am dat vreun ban poate abandona cand vrea", eu deja facand rost de majoritatea banilor si asteptand si restu tovarasilor mei sa ii predea. Prima transa de bani au fost trimisi pe data de 14 mai, in aceeasi zi apucandu-se de lucru. A lucrat aproximativ 3-4 zile apoi spunandu-mi ca are ceva examene si nu stie cat mai poate lucra. I-am zis ca este ok si l-am asteptat aproximativ pana pe 8 iunie pentru a reveni si sa isi termine toata treaba pe care o avea. Mai pe scurt dupa o luna, la gamemode erau modificate doar cateva scripturi maxim 4-5. Undeva pe la mijlocu lunii iunie am fost anuntat tot de Simple ca el nu mai vrea sa mai contribuie la proiect si ca imi face doar jumatate din pe care i-am dat o, fara a avea un motiv. Asta a facut o dupa ce ne-am inteles cu proiectu, preturile si timpu avut. El nerespectandu-si vorbele pe care le-a zis cand eu i am dat banii.Am vazut ca nu este un tip serios si dorind sa scap cat mai rapid de el am zis ok, fa-mi gamemodu jucabil pentru a putea sa ii dau drumu pe data anuntata. I-am dat o noua lista cu task-urile pe care trebuia sa le faca, a acceptat-o . Pana pe data de 16 iunie a lucrat ca un melc pot zice, aici a fost si ultima oara cand am luat legatura cu el. Am primit block pe majoritatea platformelor folosite. Mi-a fost transmis prin alt baiat ca "serviciile lui au fost concluse" . Gamemode-ul nu este deloc jucabil, totul este situat in SF nemodificand mai absoult nimic. Ce ar mai trebuii sa cunosti despre Simple ? -O data trimisa o lista cu toate scripturile pe care le vrei, la inceputul proiectului este imposibil de mai adauga ceva sub pretextul "Asta nu scrie pe lista,nu lucrez" -El nu lucreaza in weekend, dupa ce l-am asteptat aproape 1 luna sa isi de a examenele si i-am zis hai pe server sa lucram mi sa raspuns cu "este Duminica" -O data ce ai hotarat cu el niste lucruri de la inceput el le poate modifica pentru ca este "scripteru" . -Mi sa oferit la jumatate de pret fata de gamemode-ul hotarat de noi, ca poate incerca sa se faca scripter pe un alt server de Roleplay cu "reputatia" lui si sa fure gamemod-ul contra o suma de bani, apoi trimitandu-l mie pentru a il folosi. -Tot el a venit cu o propunere la mine cu pretextu sa fie el scripter permanent la mine in schimbu la jumatate din donatiile pe care le primesc, aici l am refuzat si probabil d-asta a si renuntat la mijlocu proiectului. Prin asta sper sa conving si alti oameni ce pe viitor se gandeau sa apeleze la serviciile lui, eu unu am cazut intr-o plasa si pierzand bani,o cumunitate de 60+ playeri si mult timp de pe urma lui. Sunt curios cat timp o sa se mai laude cu expersia asta : Orice dovada foto/video o puteti cere la ID discord : GabiV [Skeedz]#15121 point
-
معليش بس . جاهز مابيجي مساعده فقط نقدم لك ... لكن لو ماعندك أي خبره برمجيه - ليه تفتح سيرفر من الأساس ؟ تعلم برمجه وحنا بنساعدك . لو كلامي زعلك اسف لكن ذي الحقيقه موفق1 point
-
اذا مافهمت شيء بتاخذ الكود وتلصقه وما بتستفيد شيء, حاول كلها ارقمنتين والمنتدى كله امثلة1 point
-
1 point
-
1 point
-
@N3xT مشكور على التنبيه addEventHandler ( "onPlayerWasted" , root , function ( _ , killer ) if ( killer and isElement ( killer ) and getElementType ( killer ) == "player" and killer ~= source ) then outputChatBox ( getPlayerName ( source ) .. " killed by "..getPlayerName(killer) ) end end )1 point
-
لازم يكون فيه تحقق ان القاتل ماهو السورس لأن اللاعب لو انتحر بيطلع له انه قتل نفسه بنفسه1 point
-
1 point
-
'onClientRender' getElementPosition getDistanceBetweenPoints3D math.floor dxDrawText1 point
-
اشكرك على الرد السريع @KhaledAlamri تقدر تجي في الخاص بعد إذنك ؟1 point
-
1 point
-
تقريبا 25 دولار كاقصى حد له1 point
-
اشكرك , على هذا المود الجميل وا التصميم المميز وننتضر منك الأفضل والافضل استمر #1 point
-
Não vai funcionar para veículos que forem criados depois do resource iniciar.1 point
-
Entire frame work can be unloaded / loaded for a single or multiple people. You'll be able to do 'Background' map editing; people will still see the stuff updating but they will be able to drive around / do anything else normally.1 point
-
1 point
-
Saw something useful and original in this community after such a long time! Great contribution1 point
-
بسم الله الرحمن الرحيم كيف حالكم إنشاء الله بخير أقدم لكم المود الثاني لي وشو المود مود الجرافيكس ميزات المود :- 1. تنظيم وترتيب 2. بأكثر من لغة ولغة مكس 3. م يجيب لاق المود يشغل الجرافكس المعروف طبعآ انا مشفر المود اذا حصلت تفاعل بفكه لكم تحميل مود : http://mtaarabs.com/vb/showthread.php?p=5750#post5750 أتمنى عجبكم المود لا تنسى : تعليقك + ضغطك على شكرآ شيء معنوي لي يمكن : اسوي نسخه ثانيه ويمكن تكون دي اكس1 point
-
برنامج لفحص ملفات رول بلاي وتأكد من عدم وجود ملفات ملغمة تعطي صلاحيات وتعدل على الأدمن , يمكنك تحميله مجانا وفيديو يشرح طريقة العمل http://fpsserver.com/f1/news.php?read=351 point
-
السلام عليكم مود الردار مود خفيف عملتو للسيارات البتمشي فوق ال 120 علي الطرق السريعه + ياخدو غرامه من 50 الف ل 200 الف و لو مش معاه فلوس الاعب ياخد 3 نجوم رايكم يهمني1 point
-
i cant believe my eyes, you are asking for advice? hmm, i'll answer when i get back home (this will be useful for myself also, as i'm planning to replace some billboards too) but short instruction, probably complete: 1.) get IMGTool for San Andreas, 2.) get name of object you want to replace, 3.) look through *.IDE files for texture file name of your object (IDE structure is something like "ID, model_name, texture_file_name, another-ones") (in 98% cases texture file is same name as model file, but another extension) 3.) with IMGTool open gta3.img that is in MODELS folder in GTA installation 4.) extract your txd (texture) file 5.) get TXDWorkshop 6.) open your txd, extract files to bmp 7.) edit bmp 8.) with TXDWorkshop import your bmp to your txd 9.) do magic with scripting: my_txd = engineLoadTXD ("billboard.txd") engineImportTXD(my_txd, 7300) where 7300 is the model ID, and "billboard.txd" is path to your file, relative to resource root (you know that i think ), and don't forget to add your file to meta.xml i think i don't have to explain it more?1 point
-
0 points
-
والله العظيم انتم للحين اكثر ناس تشجعني اسوي اشياء قادمة , تدري ان كلامك ده سبب في اعتزال اكثر من مبرمج ؟؟ وكره اللعبة بسبب كلامك ده عشان الواحد يسوي شي يبي يسعد الناس ويجي واحد يحط تعليق نفس تعليقك ده الحين هو وش يسوي طيب الحين بدال ماتشجع الواحد وتخليه يكمل في شي ناس تبغاه وانا قلت ناس طلبت مني المود ده ولو واحد طلب مني مود بسويه له وبدون اي نقاش طويل , واقوله متى يخلص حسب سهولته صعوبته طولته قصره وهكذا , بس مااحد يجي يقولي المود سئ المود ممدري وش المود مو 2018 المود مقلد من 1932 ومدري وش ومدري وش خليك مظهر خير لغيركم مو عشان قلدت مود تسوو كدا , تراها لعبة والفين واحد بعدي رح يسوي السويته انا واكيد 3000 واحد قبلي سوا السويته انا , ياريت تكون فهمت قصدي وبس0 points
