Jump to content

Tete omar

Members
  • Posts

    3,267
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Tete omar

  1. Try this local sW, sH = guiGetScreenSize() function fixSimsDXRes(r1,r2,r3,r4) return sW*(r1/1440), sH*(r2/900), sW*(r3/1440), sH*(r4/900) end
  2. You should use: guiGetScreenSize and calculate the size to be fit for all resolutions.
  3. I still don't get why are you getting player's skin for, can you post meta.xml file here?
  4. المفروض نناقش في المواضيع وإلا المنتدى العربي ينام, ثانياً وعذراً اخوي setTimer( -- نسوي تايمر function( ) -- نسوي وظيفة guiSetText( Tested, 'My'.. string.rep( 'The Best', 2 )) -- نكتب في اللبل end, 500, 20 -- وقت التايمر ) -- اغلاق قوس التايمر كودك رح يعيد الكتابة كل نص ثانية في 20 مرة, ممكن تقولي وش الحكمة في كذا؟
  5. اخوي, انا ما اقول من افضل الكودات, لاكن طلما الشرح موجود بالويكي خلاص ..
  6. مشكور آخوي على الشرح لاكن وش فايدة الويكي https://wiki.multitheftauto.com/wiki/AR/String ؟
  7. Make sure that file name is sound.mp3, and make sure that the lua file path is the right path in meta.xml
  8. Can you tell have you put your code serverside or clientside? and why are you getting player's skin for?
  9. example: addEventHandler("onClientPlayerWasted", localPlayer, function() playSound("sound.mp3") end )
  10. Tete omar

    Database

    If you mean saving accounts system, then u can find all accounts in this file internal.dp using SQLite database softwares, and if you mean saving things ON accounts, then i prefer using mysql system, and if it hard to you, then use what MIKI785 posted, other than that i don't know.
  11. وليش بدل ما تتعبوا انفسكم, تنقصوا من ال hours 12 ?? مثل كذا time = getRealTime() local hours = time.hour-12 ملاحظة : الوظيفة تعتمد على وقت جهازك اذا كانت بالكلنت اما اذا كانت بالسيرفر فتعتمد على وقت السيرفر وفقاً للشرح :
  12. Castillo is right, just ask for help HERE.
  13. خطاء, كذا اذا ضغطت على الشي الي يوجد عليه الزر رح يسوي نفس الوظيفة المفروض يكون كذا addEventHandler("onClientGUIClick", Button, function ( ) local element = getPedOccupiedVehicle ( localPlayer ) if ( element ) then setElementPosition ( element,x,y,z ) else setElementPosition ( localPlayer,x,y,z ) end end, false )
  14. onClientRender الحدث : يحدث كل ما اللعبة طلعت اب ديت لنفسها يعني اقل من ملي ثانية, هذا مفيد في وظايف ال dx
  15. Tete omar

    ban player

    In admin panel, you can't ban someone from serial/ip and expect their name will be shown .. , you should do what 50p told you to show their name.
  16. ما يمديك تتخطى ارقيومنت مطلوبة, يمديك فقط تتخطى ال optional او حتى بالويكي اذا يجيك اسم الارقيومنت = nil تعرف ان يمديك تتخطاها
  17. كرت الشاشة عندك مو معرف .. حمل التعريف حق كرت الشاشة او اذا كان عندك اسطوانة تعريف حطها ونصب التعريف .. انا احس ان كل تعاريف الشاشة والصوت عندك مو منصبهة تاكد ان كل شي منصب
  18. افضل انك تستخدم Notepad++ النسخة الانجليزية, لان النسخة العربية رح تخرب بعض الخاصيات
  19. Tete omar

    ban player

    Because you banned them using their serial/ip ?
  20. bool setElementVisibleTo ( element theElement, element visibleTo, bool visible ) visibleTo: The element you wish the element to be visible or invisible to. Any child elements that are players will also be able to see the element. See visibility.
  21. I think he forgot to pass them
  22. اقرا ذا الموضوع viewtopic.php?f=119&t=57052
×
×
  • Create New...