Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Days Won

    27

Everything posted by iPrestege

  1. عليكم السلام ورحمة الله وبركاتة ماشاء الله عليك ابدعت يا عبدالكريم نظام مميز وجميل ويفيد ويحمس اللعب اقتراحات تساهم في تطويرهـ : - يكون النظام مثل الفلوس بالضبط وتكون الوظائف كالتالي : - getPlayerLikes = يجيب الايكات عارف انها موجودة لكن بالنظام الجديد كتابة بالاس افضل وأصح - setPlayerLikes = هذي تحط عدد الايكات للاعب بعدد معين مثلاً لايكاتة 50 وحطيتها 0 تصفرها - givePlayerLikes = تعطي الاعب لايكات بعدد الايكات الموجود عندهـ من اول مثلاً عندهـ 6 وعطيته 3 = 9 وبكذا يكون نظام جيد ورائع بالتوفيق وتشكر عالمجهود تقبل مروري
  2. You can see the wiki page about dx resolution for all screens from here : guiGetScreenSize There's an example there try to do it.
  3. move the event handler from line 18 to 8 or after 8 because the vehicle is nil until it's created.
  4. قانون جديد كل 6 اشهر تغيره فقط عجبك ولا ماعجبك
  5. لا ماتنفع الاضمن تشفرة وتسوي كيش اللي هو مايحملة
  6. marker = createMarker ( x,y,z,'cylinder',1.5,255,255,255,255 ) addEventHandler ( 'onMarkerHit',marker, function ( element ) if element and getElementType ( element ) == 'player' then if not isPedInVehicle ( element ) then destroyElement ( source ) end end end )
  7. اخر مود لي حق useful panel افتحه وتعلم منه موجوده الخاصيه فيه
  8. if you mean the radar blip then use : createBlip attachElements And you have to check the player and other players group if they are the same then create and attach the blips.
  9. table.sort ( table, function ( a,b ) return a.value < b.value end ); -- or table.sort ( table, function ( a,b ) return a.value > b.value end ); You can do it like this. @Best-Killer < > Control them from the bigger to the smallest one.
  10. سكربت جميل ورائع خواص مميزة لاداره الحسابات شكراً عالمجهود
  11. addEventHandler ( 'onClientGUIClick',button, function ( ) if guiGridListGetSelectedItem ( gridlist ) == -1 then return end local Money = guiGetText ( edit ) local Reason = guiGetText ( edit2 ) if Reason == "" or not tonumber ( Money ) then return end local player = guiGridListGetItemText ( gridlist,guiGridListGetSelectedItem ( gridlist ), 1 ) triggerServerEvent ( 'onPlayerMoney', localPlayer,Money,Reason,player ) end,false ) addEvent ( 'onPlayerMoney', true ) addEventHandler ( 'onPlayerMoney', root, function ( Money,Reason,player ) local player_ = getPlayerFromName ( player ) if ( player_ ) then givePlayerMoney ( player_, tonumber ( Money ) ) end end ) لم يتم التجربة
  12. iPrestege

    DXDRAW

    You can load a HTML page with mta browser you can find more about that in CEF_Tutorial.
  13. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة حبيت اقدم لك وظيفة تساعدكم في التايمرات قد لا تكون مهمة للبعض وتافهة لكن تفيد كثير باذن الله الوظيفة هي كالتالي تقوم بتحويل الايام - الاسابيع - الشهور - السنين الي ميلي سيكوند المستخدم في التايمر بدال ماتحسب وتحوس تختصر عليك بوضع عدد الايام او الاسابيع او الخ aTimerSecondsToMethod سورس الكود : function aTimerSecondsToMethod ( aMethod,aCount ) assert ( type ( aMethod ) == 'string','[1]Argument method is wrong please make sure it is there and its a string with days or wtf.' ) assert ( type ( aCount ) == 'number','[2]Argument method is wrong please make sure it is there and its a number' ) if aMethod == 'Days' then aCountHours = 24; elseif aMethod == 'Weeks' then aCountHours = 168; elseif aMethod == 'Months' then aCountHours = math.ceil ( 730.484398 ); elseif aMethod == 'Years' then aCountHours = math.ceil ( 8765.8127 ); end return aCount*aCountHours*60*60*1000; end; ملاحظة هامة : الحسبة بالنسبة للشهور والسنين ليست دقيقة وسوف تزيد بضع ساعات وقد يكون أكثر مالي خبرة كبيرة في الحسابات او الماث عموماً ماتفرق واجد على المدى البعيد كم ساعه فقط وأتمنى تكون مفيدة واللي مايعرف يستخدمها يطلب بـ رد وأمثل لة عليها وبالله التوفيق
  14. http://www.convertunits.com/from/days/to/millisecond -- تحويل الايام الى ميلي سيكوند اللي هو التايمر او الوقت المستخدم في اللعبه http://www.convertunits.com/from/weeks/to/millisecond -- تحويل الاسابيع الى ميلي سيكوند اللي هو التايمر او الوقت المستخدم في اللعبه http://www.convertunits.com/from/months/to/millisecond -- تحويل الشهور الى ميلي سيكوند اللي هو التايمر او الوقت المستخدم في اللعبه http://www.convertunits.com/from/years/to/millisecond -- تحويل السنين الى ميلي سيكوند اللي هو التايمر او الوقت المستخدم في اللعبه عشان يكون عندك وتحفظها لك وللزمن ومنها تستفيد لابغيتها لاحقاً
  15. addEventHandler( 'onClientGUIClick',day, function ( ) triggerServerEvent ( 'ss',localPlayer,guiGetText(name) ) end,false )
  16. المفروض يشتغل بدون مشاكل وين الكلنت؟
  17. @VortexServers @Vortex | Brant They used to be great in the past before a few years ago but now i don't think so . Just ask for a refund and buy from another host tapelto and what bonsai's said is just fine.
  18. You have to make sure it's a client side in the meta.xml file to handle this file as client also post your new edited meta.
  19. عمل وجميل ورائع الافضل تسوية دي اكس في الاصدار القادم تصميماً أفضل و تضيف لوق للرسائل المرسولة ومن ارسلها ومتى وتسوي كود يمنع السبام وضيف اشياء من عندك أستمر ..
  20. مالها داعي يعدل ع السكور نفسه فيه رندر
×
×
  • Create New...