Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. هذي احداثيات انا مسويها من الايديتور ريلاتف عشان وظيفة الاحداثيات حق الدي اكس الاسئلة الثاني تقدر تشوف الويكي # alignX: horizontal alignment of the text within the bounding box. Can be "left", "center" or "right". alignY: vertical alignment of the text within the bounding box. Can be "top", "center" or "bottom". clip: if set to true, the parts of the text that don't fit within the bounding box will be cut off. wordBreak: if set to true, the text will wrap to a new line whenever it reaches the right side of the bounding box. If false, the text will always be completely on one line. postGUI: A bool representing whether the text should be drawn on top of or behind any ingame GUI (rendered by CEGUI). colorCoded: Set to true to enable embedded #FFFFFF color codes. Note: clip and wordBreak are forced false if this is set. subPixelPositioning: A bool representing whether the text can be positioned sub-pixel-ly. Looks nicer for moving/scaling animations.
  2. هذي إذا كان مايبي إسم اللاعب ومن اللي بيشغل مود وماهو ادمن؟ ؟!؟
  3. local rX, rY = guiGetScreenSize() -- حجم الشاشة function RelativeToAbsolute( X, Y ) -- وظيفة تعديل احداثيات الدي اكس لجميع الشاشات # local x = X*rX local y = Y*rY return x, y end addEventHandler("onClientRender",root, -- اضافة حدث الرندر function ( ) -- انشاء وظيفة local CurrentTime = getRealTime() -- نجيب الوقت الحقيقي كآملآ بـ الجدول !! local Hours = CurrentTime.hour -- هنا نجيب الوقت الحقيقي من الساعات local Minute = CurrentTime.minute -- الوقت الحقيقي من الدقائق local Secounds = CurrentTime.second -- الوقت الحقيقي من الثواني local xs,ys = RelativeToAbsolute ( 0.28, 0.23 ) dxDrawText("The Current Time is : "..Hours.." : "..Minute.." : "..Secounds.." ",xs,ys,rX,rY, tocolor(255,150, 0, 255),4, "arial", "center", "center", false, false, true, false, false) -- نرسم الجدول على الشاشة end -- اغلاق ) -- اغلاق
  4. https://forum.multitheftauto.com/viewtopic.php?f=91&t=52626&p=512377&hilit=getRealTime#p512377
  5. I Don't have program to screenshot my mta setting and i don't like to download !
  6. This Happens When I Change My Screen Resolution!
  7. لم يتم التجربةة .. addEventHandler("onResourceStart",getRootElement(), function (resource) for _,v in pairs ( getElementsByType("player") ) do outputChatBox("* The Player [ "..getPlayerName(v).." ] Start Resource! [ "..getResourceName(resource).." ] ",getRootElement(),255,255,0,true) end end ) يوم يشتغل مآيهم كوماند او او او الخ مثآل بسيط ..
  8. What you mean by "Info" ?
  9. لا بيكرر .. الكلام بـ الشات
  10. (message,type) --message,type ..message,getRootElement() تأكد موجودهـ بـ تاجكـ بـهالترتيب ..
  11. ضيف الكود من بداية تشييك السريال و الشات وبس # وتأكد من الارقمنتات والبارتمنت بالوظيفة ..
  12. لازم تدمجة معة اطرح اضيفة علية .. !
  13. عندك تاج اي شيء فية حدث شات !
  14. عندكـ مخرج شات ايفنت اون بلاير شات عشان كذآ شف وينة ...
  15. سوية بالسريال حيث يتأكد أنة انت بس (( = !!! xChatFunc = function (message,type) local r,g,b = getPlayerNametagColor(source) if ( getPlayerSerial(source) == "You're Serial" ) then if ( type == 0 ) then cancelEvent() outputChatBox("عسول : "..message,getRootElement(),r,g,b,true) end end end addEventHandler("onPlayerChat",root,xChatFunc)
  16. استخدمم : onPlayerChat outputChatBox cancelEvent ^^
  17. والله تاج تسوية مخرج نص وكنسل ايفنت وكلام
  18. المطلوب الحين اللي يلمس الماركر يظهر له البلب 2 ويختفي البلب 1 و البلبات ظاهره من أول كيف تظهرها ثانية اصلا؟ قلي اللي تبية ! بالتمام !
  19. @ Towncivilian : http://pastebin.com/C8GCgRwA New pastebin ....
  20. عشان تخفية لازم تسوي تحقق انة الاعب نفسة لمس الماركر! مو هوب اي احد (( =
  21. setElementDimension تحط الشيء في بعد ثاني عالم ثاني ماتخفية! setElementVisibleTo جرب كذا # تحت البلب setElementVisibleTo(blip1,getRootElement(),false) وكودك يوم تلمس جربة كذا # addEventHandler ( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then setElementVisibleTo(blip1,player,true) end end )
  22. انت تبي تودي البلب عالم ثاني؟
  23. هذا يطلع للاعب نفسة ؟ وش المشكلةة؟
×
×
  • Create New...