Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. عطيتة صلآحيات من الادمنية ؟ resource.name
  2. فية مسافة باسم المود عدله !
  3. @ عاشق الشرق = الكود حقة يسحب السيارهـ
  4. http://www.mediafire.com/?w8il4qfwpimpshqNew ACL.XML
  5. https://community.multitheftauto.com/index.php?p=resources&s=details&id=5545https://community.multitheftauto.com/index.php?p=resources&s=details&id=5550 1- مضآد الدبابة 2- مضاد الخلاط
  6. iPrestege

    Can Be ?

    @ TAPL it works thanks i understand now ! ((=
  7. iPrestege

    Can Be ?

    Maybe like that : function RGBToHex(red, green, blue, alpha) if((red < 0 or red > 255 or green < 0 or green > 255 or blue < 0 or blue > 255) or (alpha and (alpha < 0 or alpha > 255))) then return nil end if(alpha) then return string.format("#%.2X%.2X%.2X%.2X", red,green,blue,alpha) else return string.format("#%.2X%.2X%.2X", red,green,blue) end end for i, random in ipairs(getElementsByType("gui-button")) do guiSetProperty(random, 'NormalTextColour',RGBToHex(r,g,b)) end
  8. iPrestege

    Can Be ?

    hi all , how are you , fine ? hmm i think about setButtonColor but i need it math.random (= Same SetLabelColor ! i dont know if i can do it or no -_-" but i try that but doesn,t work ! : addEventHandler("onClientResourceStart", root, function() setTimer(function() for _, random in ipairs(getElementsByType('gui-button')) do guiSetProperty(random, 'NormalTextColour', math.random(0, 255), math.random(0, 255), math.random(0, 255)) guiSetFont(random, "default-bold-small") end end, 250, 0) end)
  9. "function.addAccount" access="true"/>
  10. GUIEditor_Window = {} GUIEditor_Grid = {} GUIEditor_Window[1] = guiCreateWindow(269,161,259,296,"",false) GUIEditor_Grid[1] = guiCreateGridList(9,26,241,250,false,GUIEditor_Window[1]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) guiGridListAddColumn(GUIEditor_Grid[1],"skin",0.2) local rows = {} rows.skin1 = guiGridListAddRow(GUIEditor_Grid[1]) rows.skin2 = guiGridListAddRow(GUIEditor_Grid[1]) guiGridListSetItemText(GUIEditor_Grid[1],rows.skin1,1,"Skin 1",false,false) guiGridListSetItemText(GUIEditor_Grid[1],rows.skin2,1,"Skin 2",false,false) local skins = { ["Skin 1"] = 1, ["Skin 2"] = 2 } addEventHandler("onClientGUIClick", GUIEditor_Grid[1], function() for i, v in pairs( rows ) do if( guiGridListGetSelectedItem(source) == v )thenlocal itemName = guiGridListGetItemText(GUIEditor_Grid[1], guiGridListGetSelectedItem(source), 1) if(skins[ itemName ])then triggerServerEvent("settingModel", localPlayer, skins[ itemName ]) end end end end ) local marker = createMarker ( 0, 0, 2, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler("onClientMarkerHit", marker, function(hitElement) if( hitElement == localPlayer )then showCursor(true) guiSetVisible( GUIEditor_Window[1], true ) end end )
  11. This bademode panel stolen ! orignal copy my kemo ! stolen = https://community.multitheftauto.com/index.php?p=resources&s=details&id=6150 Original copy = https://community.multitheftauto.com/index.php?p=resources&s=details&id=5607 DONE
  12. الفري روم مايختلف الا اماكن الازرار انت اعطية مثال وخلاص @ بروفيسور ههذا قصدي عطة مثال على اي زر من اي فري روم وخله يطبق عليه !
  13. لآ الكود وآضح انك نآسخة / = المشكلة عندك / مسوي اسم الاوبجيكت GATE1 - GATE2 ومسوي تحريك للاوبجكت بآسم آوبجكت ثآني ؟
  14. الفري روم مايختلف الا اماكن الازرار انت اعطية مثال وخلاص @ بروفيسور
  15. وانت جاي مدرعم عـ طول تبي قيم مود ابدا حبة حبة وسعد يوم يسوي القيم مود لة خبرهـ سنوآت كثيرهـ -_-"
  16. https://wiki.multitheftauto.com/wiki/AR/%D9%85%D9%82%D8%AF%D9%85%D9%87_%D9%81%D9%8A_%D8%A7%D9%84%D8%A8%D8%B1%D9%85%D8%AC%D9%87 عاشق الشرق مو الليل
×
×
  • Create New...