Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. تأكد انة كذا : سبحان الله وبحمدة سبحان الله العظيم ...
  2. Maybe that what you need : https://community.multitheftauto.com/index.php?p=resources&s=details&id=5801
  3. المشكله : ماقدر ادخل على السيرفر ومع اني كتبت اسمه وكتبت الاي بي ولا يجي يمكن غيرت شيء بـ اسم الروم فـ خرب الروم عليك يعني ماتدري وشلت / او > او شيء كذا / = !
  4. Please! download the latest version of the files and re upload admin resource only ! Here: http://code.google.com/p/mtasa-resources/downloads/listBe sure to open the permissions from the Acl!.
  5. Try This / local Marker = createMarker ( x,y,z, "cylinder", 2, 255, 255, 0, 150 ) addEventHandler('onClientMarkerHit', Marker, function ( player ) if ( player == localPlayer ) then setElementInterior (player, id) end end)
  6. My friend has programming! Script help me to get the pos relative! using : guiGetPosition guiGetSize Thank You For Help!
  7. Now? Grove = guiCreateStaticImage(0.16325037181377,0.22005207836628,0.17862372100353,0.43359375,"Grove.png", true)
  8. جميل منك هذا العمل من المفترض ان تضع العمل في قسمة الانسب وهو المساهمات !
  9. ألحين تختبرون؟ مسآكين خلصت المدرسةة
  10. i recreate the images and i got this: GUIEditor.staticimage[1] = guiCreateStaticImage(264, 165, 171, 401, "Grove.png", false) GUIEditor.staticimage[2] = guiCreateStaticImage(621, 165, 171, 401, "Police.png", false) GUIEditor.staticimage[3] = guiCreateStaticImage(959, 165, 171, 401, "NoTeam.png", false)
  11. Did you convert it to the center? i use loadcode when i paste the code say : loaded successfully but now what? i cant find it!
  12. Now works correctly! But how can I do it here too?: Grove = guiCreateStaticImage(223, 169, 244, 333, "Grove.png", false) Police = guiCreateStaticImage(592, 169, 244, 333, "Police.png", false) eam = guiCreateStaticImage(912, 169, 244, 333, "NoTeam.png", false)
  13. قصدك عندك تيم وتبي تعطية سلآح؟
  14. هذآ يخفي آي شيء آنآ قلت اذا ضغط على الزر يطلع له صوره مثلا في زر اسمه arabic اذا ضغط عليه تطلع له مثلا صوره قوانين عربيهه english و زر اذا ضغط عليه تطلع له قوانين انجليزيه اتمنى فهمت ذذ = انت طلبت زرين !
  15. x,y = guiGetScreenSize() JobsWin = guiCreateWindow(x/3 - 170,y/3 - 20,200,320,"لوحة إختيار الفريق",false) guiSetVisible ( JobsWin, false ) teamsList = guiCreateGridList(0,22,186,255,false,JobsWin) column = guiGridListAddColumn(teamsList,"الفرق", 0.85) for id, team in ipairs(getElementsByType("team")) do local row = guiGridListAddRow(teamsList) local r, g, b = getTeamColor(team) guiGridListSetItemText(teamsList, row, 1, getTeamName(team), false, false) guiGridListSetItemColor(teamsList, row, 1, r, g, b) end guiWindowSetMovable(teamsList, false) guiWindowSetMovable(JobsWin, false) guiWindowSetSizable(teamsList, false) guiWindowSetSizable(JobsWin, false) send = guiCreateButton(0,285,90,25,"إختيار",false,JobsWin) CloseButton = guiCreateButton(105,285,90,25,"إغلاق",false,JobsWin) bindKey("F2", "down", function() guiSetVisible(JobsWin, not guiGetVisible(JobsWin)) showCursor(guiGetVisible(JobsWin)) end) addEventHandler("onClientGUIClick", root, function (button) if button == "left" then if source == send then local row, col = guiGridListGetSelectedItem(teamsList) local teamName = guiGridListGetItemText(teamsList, row, col) if teamName == "" then return end triggerServerEvent("onPlayerChooseTeam", localPlayer, teamName) guiSetVisible(JobsWin, false) showCursor(false) elseif source == CloseButton then guiSetVisible(JobsWin, false) showCursor(false) end end end)
  16. guiCreateStaticImage "onClientGUIClick" 1-تسوي صورة اذا ضغطت زر سو الصورة على اللوحة ذذ وسو لكل زر نفس الصورة باسم ثاني مثال: addEventHandler ("onClientGUIClick", root, function() if ( source == ArabicButton ) then guiCreateStaticImage( 50,50,100,100, "Name.png", false,Window ) end end )
  17. My Code: g_ResRoot = getResourceRootElement(getThisResource()) GUIEditor = { label = {}, staticimage = {}, } fadeCamera(false) showChat(false) showCursor(true) function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end GUIEditor.label[1] = guiCreateLabel(234, 30, 877, 72, "Welcome To Gta Pro Server (=", false) guiLabelSetColor(GUIEditor.label[1], 221, 254, 0) GUIEditor.label[2] = guiCreateLabel(157, 556, 1124, 100, "Chose Your Best Game And Have Fun!", false) guiLabelSetColor(GUIEditor.label[2], 221, 254, 0) Drift = guiCreateStaticImage(263, 157, 423, 348, "1.png", false) centerWindow(Drift) --------------------------------------- War = guiCreateStaticImage(706, 157, 423, 348, "2.png", false) centerWindow(War)
  18. I want that! But different screen size! I want that and strongly!
  19. 1-Yes, I did that!But did not succeed! 2-Yes I try that! But the images come on top of each other! Here my problem! Is there a solution?
  20. hi , i create 2 images using guieditor! the problem the Screen size!i create it on the center!but the problem!Different from computer to computer!So how can I make it on the center just like the center window!
×
×
  • Create New...