Jump to content

RdX

Members
  • Posts

    181
  • Joined

  • Last visited

Everything posted by RdX

  1. RdX

    مسأأعده

    مو شغأأل و الخطأأء هنأأ function Rcolor() local color = {} color[1] = math.random(0,255) color[2] = math.random(0,255) color[3] = math.random(0,255) color[4] = math.random(0,255) setVehicleColor ( vehicle, color[1], color[2], color[3], color[4] ) end addEvent("color",true) addEventHandler("color",getRootElement(),function () setTimer( Rcolor, 350, 0 ) end,false) بأسطر رقم 8
  2. RdX

    مسأأعده

    طيب ممكن حد يسويها لي ؟
  3. RdX

    مسأأعده

    Rainbow Code ----ClientSide---- function randomVehColors() local vehicle = getPedOccupiedVehicle(localPlayer) if (vehicle) then local color = {} color[1] = math.random(0,255) color[2] = math.random(0,255) color[3] = math.random(0,255) color[4] = math.random(0,255) setVehicleColor ( vehicle, color[1], color[2], color[3], color[4] ) end end addEventHandler ( "onClientGUIClick", RianbowColor,function () setTimer( randomVehColors, 350, 0 ) end,false)
  4. السلام عليكم انا عندي كود Rainbow Car << شغاأل 100 100 لكن مشكلته محد يشوف السيأأره تتلون الي يشوفها بس الي ضغط الزر و بس يشوف سيأرته تتلون انا ابيه يكون root يعني الي يلون سيأأأرته الناس تشوف سيأرته تتلون
  5. يب انا ابي انه محد يقدر يفتح القائمه الى الي في قروب donators < acl
  6. اي عصابه يبني اسم اللوحة صح لكن العصابه وشو
  7. مو شغال اضن انو لزم في السيرفر
  8. السلام عليكم ورحمة الله وبركاته عندي window الي ابيه انو محد يقدر يفتح الى قروب معين اسمه donators و الي مو في دونيتور يقوله [Donators] Sorry ur are not in Donators اسم الويندو win = guiCreateStaticImage(52,52,500,400, "manager.png", false ) -- windows donators
  9. تقدر تقول لكن يمقن عشان اكوادي ملخبطه لكن الي سويته ضفت تحت gridlist guiGridListSetSortingEnabled(gridOnlinePlayers, false)
  10. ما ضبط بس حليتها
  11. UP ------------ no one listen to me guys i need help
  12. RdX

    Help me please

    show player in gridlist -----client side---- gridOnlinePlayers = guiCreateGridList(20,90,172,280,false,statswin) guiGridListSetSortingEnabled(gridOnlinePlayers, false) column = guiGridListAddColumn(gridOnlinePlayers,"Name",0.9) for _,player in ipairs(getElementsByType("player")) do local row = guiGridListAddRow (gridOnlinePlayers) guiGridListSetItemText(gridOnlinePlayers,row,1,string.gsub(getPlayerName(player), "#%x%x%x%x%x%x", ""),false,false) end
  13. RdX

    Help me please

    this code label and money fuction ---------Client Side Moneystats = guiCreateLabel(200,120,150,16,"",false,statswin) guiSetFont(Moneystats,"default-bold-small") addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == gridOnlinePlayers ) then local select = guiGridListGetItemText ( source, guiGridListGetSelectedItem ( source ), 1 ); if ( select and select ~= "" ) then triggerServerEvent ( "getMoney", localPlayer, select ); end end end ); addEvent ( "SetMoneyInLabel", true ); addEventHandler ( "SetMoneyInLabel", root, function ( money ) guiSetText ( Moneystats, "Money : " .. money ); end ); -------Server Side addEvent ( "getMoney", true ); addEventHandler ( "getMoney", root, function ( select ) local gPlayer = getPlayerFromName ( select); if gPlayer == false then return end local pMoney = getPlayerMoney ( gPlayer ); triggerClientEvent ( source, "SetMoneyInLabel", source, pMoney ); end );
  14. RdX

    Help me please

    hello guys my problem it's if u use any #rrggbb in your nick the money is visible if not use the money will be not visible without #rrggbb Colour with #rrggbb colour please help me and code in other post
  15. gridOnlinePlayers = guiCreateGridList(20,90,172,280,false,statswin) guiGridListSetSortingEnabled(gridOnlinePlayers, false) column = guiGridListAddColumn(gridOnlinePlayers,"Name",0.9) for _,player in ipairs(getElementsByType("player")) do local row = guiGridListAddRow (gridOnlinePlayers) guiGridListSetItemText(gridOnlinePlayers,row,1,string.gsub (getPlayerName(localPlayer), "#%x%x%x%x%x%x",""),false,false) end ما ضبط يا مستر داوكس ذا كود الي يطلع الاسم بي القريد
  16. ممكن احد يشرحلي كيف استخدمه ؟
  17. server side addEvent ( "getMoney", true ); addEventHandler ( "getMoney", root, function ( select ) local gPlayer = getPlayerFromName ( select); if gPlayer == false then return end local pMoney = getPlayerMoney ( gPlayer ); triggerClientEvent ( source, "SetMoneyInLabel", source, pMoney ); end );
  18. client side Moneystats = guiCreateLabel(200,120,150,16,"",false,statswin) guiSetFont(Moneystats,"default-bold-small") addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == gridOnlinePlayers ) then local select = guiGridListGetItemText ( source, guiGridListGetSelectedItem ( source ), 1 ); if ( select and select ~= "" ) then triggerServerEvent ( "getMoney", localPlayer, select ); end end end ); addEvent ( "SetMoneyInLabel", true ); addEventHandler ( "SetMoneyInLabel", root, function ( money ) guiSetText ( Moneystats, "Money : " .. money ); end );
  19. المشكله في الفلوس ما تطلع اذا كنت حاط #ff9900 او اي كود الوأأن بأسمي اما بدون كود تطلع
  20. السلام عليكم عندي مشكله خفيفه شوفو الصوره بدون كود الأوان الفلوس موجوده ولكن شوفو لمن اكود حط الوان بأسمي
  21. نفس الشيء صلحت الخطأء لكن الفلوس ثأأبته ما تتغير بس تجي للاأأعب حق الجهاز
  22. فيه خطأأء
  23. طيب ممكن حد يسويلي التريقر ادري انه نضام تعلم لاكن انتم سأأعدوني
  24. كأأمبتدىء شيء كويس طيب علمني كيف
  25. كود الاسم addEventHandler( "onClientGUIClick", resourceRoot, function( ) if ( source == gridOnlinePlayers ) then local select = guiGridListGetItemText ( source, guiGridListGetSelectedItem ( source ), 1 ) if ( select and select ~= '' ) then guiSetText( namestats, ""..select ) end end end ) كود الفلوس addEventHandler( "onClientGUIClick", resourceRoot, function( ) if ( source == gridOnlinePlayers ) then local select = getPlayerMoney ( source, getPlayerMoney ( source ), 1 ) if ( select and select ~= '' ) then guiSetText( Moneystats, "Money : "..select ) end end end )
×
×
  • Create New...