Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/05/19 in Posts

  1. You could load a small xml file on to the client his computer. (The whole time) When the player reconnects, subtract the ammo that hasn't been synced. (Sync once in a while with the server) Ofcourse add a security layer. Which will prevent players to edit those values. If the file has a mismatch with the account data of the player. Make sure to punish him by deleting all the ammo. Why xml and not a default file? Because you can edit parts of it. And not have to recreating the whole file when there are changes. (And yes for the XML haters, you can also use JSON in XML... cry!)
    2 points
  2. سيرفر جراند العرب - حرب العصابات , سيرفر حرب العصابات الأول عربياً الأي بي : mtasa://51.254.71.7:22003 نرحب بكم في المنتدى الخاص بنا : منتدى جراند العرب ما الجديد ؟ 1# User Panel - لوحة المستخدم Hide contents 1- لوحة المستخدم ( اف 1 ) الجديدة , شرح وصور من هنا الصور الموجودة في الموضوع قديمة , سيتم تجديدها في أقرب وقت 2# نظام اللفل الجديد - Level System Hide contents نظام اللفل جديد كلياً , مشابه لنظام لفل الببجي . علماً بأنه جراند العرب , السيرفر الأول الي يطبق فكرة لفل كهذا سيتم إرفاق صور قريباً 3# إحتلال المركز - LSPD Turf Hide contents نظام إحتلال المركز كل فترة معينة نحن السيرفر الأول , الي يطبق فكرة كهذهـ شرح وصور من هنا 4# نظام الخوذة - Helmet System Hide contents نحن السيرفر الأول عربياً الذي يطبق هذه الفكرة شرح و صور من هنا تم تحديث النظام و مكان الشراء , سيتم إرفاق صور قريباً 5# نظام سرقة البنك - Bank Robbery Hide contents نحن السيرفر الأول عربياً الذي يطبق فكرة سرقة بنك كهذهـ شرح و صور من هنا هذهـ الصور قديمة , تم تحديث السكربت للأفضل ! 6# لوحة تسجيل الدخول عن طريق الأيميل Hide contents سيتم إرفاق صور قريباً 7# تغير شكل إختيار التيمات - Teams Selector Hide contents نحن السيرفر الأول الذي يطبق فكرة إختيار تيمات الجديدة يمكنك الدخول للسيرفر ورؤيتها , سيتم إرفاق صور قريباً 8# الشوب الخاص - Special Shop Hide contents نظام الشوب الخاص , يمكنك شراء شخصيات , و حركات جديدة و متطورة و شراء عملة الكوينز 9# نظام الدروب - Drop Box System Hide contents نحن السيرفر الأول عربياً الذي يطلق هذهـ الفكرة الدروب ينزل كل ساعتين تقريباً , و يمكنك ربح جائزة عشوائية طبعاً تنزل حقيبة في السماء , سيتم إرفاق صور قريباً . 10# نظام توبات المهمات - Top Missions Spoiler يمكنك فتح القائمة عن طريق اف 7 يتم تصفيرها كل شهر , مع إعطاء جوائز لأول 5 أشخاص إضافات : # يمكنك الان حرب قروبات من خلال الأمر - "gs" - كما أنه الدمج سيظهر .. # تم تحديث نظام البيست # تم إضافة نظام الـ - "Hetman" - لـ النو تيم فقط . # تم تعديل جوائز البكجات # تم إضافة نظام جوائز التواجد , كل ساعتين جائزة مع تحيات , فريق تطوير جراند العرب
    1 point
  3. Hey, i would need to check if ped is not on ground - if so, then i want move him to the ground. I will use this function as first, but what later? https://wiki.multitheftauto.com/wiki/IsPedOnGround Is there any way to get "closest" ground position?
    1 point
  4. يب ليش لا
    1 point
  5. ياقلبي مابينحفظ جرب وتأكد على السيريال او اسم الحساب يزبط
    1 point
  6. # New : تم إضافة شخصيات لكل لفل , زيلدة حد الفلوس من١٠ مليون الى ١٥ مليون .
    1 point
  7. حتى بكودك مابينحفظ لو طلع ودخل المفروض تسويه على السيريال او على اسم الحساب
    1 point
  8. TXD Workshop Alci's IMG Editor IMG Tool دي كل البرامج اللي تقدر تستخرج بيها اي تكسد
    1 point
  9. لا تنسى تسوي الجوائز مثل جراند .
    1 point
  10. local positions={ {fX,fY,fWidth,fHeight}, -- positions {fX,fY,fWidth,fHeight}, -- positions {fX,fY,fWidth,fHeight}, -- positions }; local colshape={}; for k, v in ipairs(positions) do local x,y,width,height=v[1],v[2],v[3],v[4] colshape[#colshape+1]=createColRectangle(x,y,width,height); -- colshape[key] = new col rectangle end addEventHandler("onClientColShapeHit",root, function(hitElement) if hitElement==localPlayer then for i=1,#colshape do -- loop for the colshapes table ( i = 1 to count of colshapes ) if colshape[i]==source then -- check the source colshape if it equals any colshape in the table of colshapes -- Your code end end end end );
    1 point
  11. فيه قيم مود ببجي حق @H25 للبيع تواصل معه للتفاصيل
    1 point
  12. So what did you do? Else use just a dirty timer or create it clientside.
    1 point
  13. It might be possible that either by default or by another script the control is enabled. I recommend to use event "onPlayerSpawn" + Put the addEventHandler priority to low. (which is for the onPlayerSpawn event) This will make sure that the control settings are not being overwritten by anything else at serverside.
    1 point
  14. أحبك موت - ماجد المهندس بلاني حبه - اذينة العلي قالو ترى - عبادي الجوهر جميع اغاني رياح الجنوب و اغنية الحب مري
    1 point
  15. Eu abri o post e pensei e ajudar ele escrevendo o começo do codigo, mas depois de ver como ele nao tem vontade de aprender nem vou ajudar.
    1 point
  16. Pois é, se vc tivesse demonstrado interesse em aprender e mostrado alguma coisa que vc tentou fazer, talvez eu pudesse ter dado código pronto pra vc. Mas da forma que vc apresentou, deu a impressão de que vc nem tentou e só quer que façam o código pra você. Não é assim que funciona. Por isso eu disse boa sorte, vc vai precisar de sorte para que alguém aqui faça o código de graça pra vc. Responder de maneira agressiva também não ajuda em nada, amigo.
    1 point
  17. رجعنا النظام القديم , تخرج من حر ف "B" , بدون إنتظار المدة . Programmer , الإبداع شغلي أنا ونصيف .
    1 point
  18. يب , الي حاب يناقشني بهذي يناقشني , ويجيب دليل
    1 point
  19. يخي طفشنا صراحة , ما في سسيرفر زي العالم والناس , كله تسليك نبي سيرفر زي الببجي فعلا .
    1 point
  20. Hi, many people suggested AwesomiumCEF (an embeddable webbrowser which is based upon Chromium) to be integrated in MTA. Despite some doubts I tried to implement it (just for fun so far). You can watch the result below: The script would look like the following then (that's a part of the code I used in the video above) local webBrowser = createBrowser(1200, 675) addCommandHandler("youtube", function() browserLoadURL(webBrowser, "http://www.youtube.com/watch?v=kdemFfbS5H0") addEventHandler("onClientRender", root, function() -- Update texture data updateBrowser(webBrowser) -- We can simply draw the webbrowser now since it is a standard DirectX texture local x, y = 110.7, 1024.15 dxDrawMaterialLine3D(x, y, 23.25, x, y, 14.75, webBrowser, 18.2, tocolor(255, 255, 255, 255), x, y+1, 19) end ) end ) The main problem I see at the moment is the potential abuse capability: A server would be able to open every webpage it wants to - including porn and warez. There should be in any case an option to turn the entire webbrowser stuff off. Furthermore I can think of several solutions to restrict the access somehow: 1. Solution: Requests: This is in my opinion the best solution. The server must request the pages first in order to open them later. The player has to accept the request (a messagebox or something) then. This could look like the following: -- Ask the player after login addEventHandler("onPlayerLogin", root, function() requestWebPages({"youtube.com", "google.com", "myservername.com"}) end ) There should also be an option to save the decision, so that the player wouldn't get the annoying message everytime. Once you requested the websites, you can use them unconditionally 2. Solution: A global whitelist: There is a global whitelist which is managed by the MTA team (all websites are blocked generally). If you'd like to open your server's website, you must create a kind of short application. Pros: The best protection and possibility to fight against abuse Cons: Pretty much administration effort 3. Solution: Vice versa - An own + global blacklist: This solution is probably the worst: Generally there is no restriction. Lots of porn and Warez sites are blocked. If you don't want a server to open a specific website, you'll be able to add it to your own blacklist. Finally, what's your opinion on the solutions? Do you have a better idea? Could you imagine a webbrowser in MTA generally? Best regards
    1 point
  21. قفل اي مود تاجات أو مود الفري روم
    0 points
×
×
  • Create New...