Jump to content

UAEpro

Retired Staff
  • Posts

    524
  • Joined

  • Last visited

Everything posted by UAEpro

  1. أغلب السيرفرات ما تاخذ أكثر من 500 ميقا رام وطبعا مع التقدم .. لو لاحظنا اي شي نقدر نرقي المعالج والرامات بسهولة .. حسب تجربتي ,, فتحت سيرفر هجولة وكانت السيارات مو كثيرة واجد بس الزوار ازيد من 100 كان استهلاك الرام 760 ام بي وبعض الاحيان يوصل 1 جي بي عندنا كرنيل معدل خصيصا حق هاي المشاكل ..
  2. أغلب السيرفرات ما تاخذ أكثر من 500 ميقا رام وطبعا مع التقدم .. لو لاحظنا اي شي نقدر نرقي المعالج والرامات بسهولة ..
  3. الحل الأفضل لو كان فيه هنا زر thanks كنت ضغطته صح ذكرتني بكاشيو سيتم اضافتها وبخصوص التلفون نفس ماقالوا يبون فائدة كبيرة
  4. السلام عليكم .. حجزت خادم خاص كبير والرامات 16 قيقا معالج i5 طبعا تكفي اكثر عن 40 سيرفر المهم .. لو فكرت افتح استضافة عربية محمية ... بدون ثغرات طبعا .. كيف تفضلون طريقة الدفع ؟
  5. https://wiki.multitheftauto.com/wiki/GuiSetVisible
  6. if you want an easy way you can use this resource to make a colored label viewtopic.php?f=108&t=43639
  7. ok .. i don't need help anymore .. i found another easier way
  8. اذا تبي تخلي الصوره ثم النافذه استخدم setTimer( guiSetVisible, 5000, 1, window, true) هالكود يخلي النافذه تظهر بعد خمس دقائق على حسب الحدث window = غيرها لآسم النافذه الي عندك اما اذا تبي تسوي صوره بعد صوره استخدم guiStaticImageLoadImage و استخدم معها setTimer من مود dxGUI ^^
  9. back = dxCreateStaticImage(0,0,798,599,"images/backgroundlogin.png",false) window[1] = dxCreateWindow(176,142,458,350,"",false)
  10. why not ? function vehicleDamage ( loss ) cancleEvent() end addEventHandler ( "onVehicleDamage", root, vehicleDamage )
  11. لازم تعدل على مود الـ dx
  12. ديولكس اسوء استضافة على مر التاريخ ..
  13. GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Radio = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(231,202,557,359,"SERVER TITLE GOES HERE",false) guiSetVisible ( GUIEditor_Window[1], false ) ------ i added this GUIEditor_Image[1] = guiCreateStaticImage(9,23,539,75,"logo.png",false,GUIEditor_Window[1]) GUIEditor_Radio[1] = guiCreateRadioButton(9,97,151,29,"INFO1",false,GUIEditor_Window[1]) GUIEditor_Radio[2] = guiCreateRadioButton(9,138,140,26,"INFO2",false,GUIEditor_Window[1]) GUIEditor_Radio[3] = guiCreateRadioButton(9,179,129,23,"INFO3",false,GUIEditor_Window[1]) GUIEditor_Memo[1] = guiCreateMemo(184,97,364,253,"TEXT GOES HERE1",false,GUIEditor_Window[1]) GUIEditor_Memo[2] = guiCreateMemo(184,97,364,253,"TEXT GOES HERE2",false,GUIEditor_Window[1]) GUIEditor_Memo[3] = guiCreateMemo(184,97,364,253,"TEXT GOES HERE3",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) guiMemoSetReadOnly(GUIEditor_Memo[2],true) guiMemoSetReadOnly(GUIEditor_Memo[3],true) guiMemoSetReadOnly(GUIEditor_Memo[4],true) guiMemoSetReadOnly(GUIEditor_Memo[5],true) GUIEditor_Button[1] = guiCreateButton(9,311,168,39,"Close",false,GUIEditor_Window[1]) function eta() if (source == GUIEditor_Radio[1]) then guiSetVisible ( GUIEditor_Memo[1], true ) guiSetVisible ( GUIEditor_Memo[2], false ) guiSetVisible ( GUIEditor_Memo[3], false ) elseif (source == GUIEditor_Radio[2]) then guiSetVisible ( GUIEditor_Memo[1], false ) guiSetVisible ( GUIEditor_Memo[2], true ) guiSetVisible ( GUIEditor_Memo[3], false ) elseif (source == GUIEditor_Radio[3]) then guiSetVisible ( GUIEditor_Memo[1], false ) guiSetVisible ( GUIEditor_Memo[2], false ) guiSetVisible ( GUIEditor_Memo[3], true ) end end addEventHandler("onClientGUIClick",GUIEditor_Radio[1],eta,false) addEventHandler("onClientGUIClick",GUIEditor_Radio[2],eta,false) addEventHandler("onClientGUIClick",GUIEditor_Radio[3],eta,false) function oppenz() if guiGetVisible ( GUIEditor_Window[1] ) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor_Window[1], true ) showCursor(true) guiSetInputEnabled(true) setTimer(glowbabyglow,6000,1) end end bindKey("F9","down",oppenz) function close() if (source == GUIEditor_Button[1]) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor(false) guiSetInputEnabled(false) end end addEventHandler("onClientGUIClick",GUIEditor_Button[1],close,false)
  14. ok i have add this table to the script string and i load it with the script string .. but it didn't work .. did i do something wrong ?
  15. the .fx file must be similar to this float4 MyShader(.... ) ... { ................. } technique fog { pass p1 { VertexShader = null; PixelShader = compile ps_2_0 MyShader(); } }
  16. addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[1] ) then playerNick = guiGetText(re ) triggerServerEvent("go",getLocalPlayer(),playerNick) end end) هذا بالنسبة للكلنت اما السيررفر addEvent ( "go", true ) addEventHandler ( "go", getRootElement(), function (playerNick) redirectPlayer (getPlayerFromName(playerNick),"176.9.100.234","22423") end)
  17. table ,, i mean in String.find ..
  18. i still didn't understood what is that .. but as i think i need to get all handlers,commands,timers,binds and disable it after knowing the name For example .. removeEventHanler .. removeCommandHandler etc .. but the problem now .. how i can get (handler name) from a string string.find ? i know that .. but if it was addEventHandler( "onPlayerSpawn", rootElement, onPlayerSpawnHandler ) string.find(scriptString, "addEventHandler") then i can find the handler but how i can know the string (event) 'onPlayerSpawn'
  19. UAEpro

    Coordinates

    thanks .. i just fixed it to show the position without looking to the function my fault
  20. UAEpro

    Coordinates

    --- edited .. thanks to Solidsnake14 function getCoord(thePlayer) local x,y,z = getElementPosition(thePlayer) outputChatBox("Coordinates:".." X"..x.." Y"..y.." Z"..z, getRootElement(), 255,0,255, true) end addCommandHandler("coord", getCoord)
  21. i still didn't understood what is that .. but as i think i need to get all handlers,commands,timers,binds and disable it after knowing the name For example .. removeEventHanler .. removeCommandHandler etc .. but the problem now .. how i can get (handler name) from a string
  22. الكود اللي اعطوك اياه الشباب .. ما انصحك تستعمله ابد .. لانه كل 4 ثواني بيعمل واحد جديد فوق السابق اما هذا بس بيحدث function playerlist() playerList = guiCreateGridList(6, 6, 140, 460, false, tab4) guiGridListSetSelectionMode(playerList, 2) guiGridListClear(playerList) cl = guiGridListAddColumn(playerList, "Players List ...", 0.85) if ( cl and guiGetVisible(GUIEditor_Window[1] ) == true ) then for _,name in ipairs(getElementsByType("player")) do local rw = guiGridListAddRow(playerList) guiGridListSetItemText(playerList, rw, cl, getPlayerName(name), false, false) end end end setTimer(function() guiGridListClear(playerList) guiGridListSetSelectionMode(playerList, 2) if ( cl and guiGetVisible(GUIEditor_Window[1] ) == true ) then for _,name in ipairs(getElementsByType("player")) do local rw = guiGridListAddRow(playerList) guiGridListSetItemText(playerList, rw, cl, getPlayerName(name), false, false) end end end ,4000,0)
  23. الحين بنام .. لكن يوم بقوم بسوي لك كود احسن من هذا ..
  24. xmlNodeGetAttribute xmlNodeGetValue xmlFindChild xmlNodeGetAttributes xmlNodeGetChildren xmlNodeGetName xmlNodeGetParent
×
×
  • Create New...