RdX
Members-
Posts
181 -
Joined
-
Last visited
Everything posted by 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
-
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)
-
السلام عليكم انا عندي كود Rainbow Car << شغاأل 100 100 لكن مشكلته محد يشوف السيأأره تتلون الي يشوفها بس الي ضغط الزر و بس يشوف سيأرته تتلون انا ابيه يكون root يعني الي يلون سيأأأرته الناس تشوف سيأرته تتلون
-
يب انا ابي انه محد يقدر يفتح القائمه الى الي في قروب donators < acl
-
اي عصابه يبني اسم اللوحة صح لكن العصابه وشو
-
مو شغال اضن انو لزم في السيرفر
-
السلام عليكم ورحمة الله وبركاته عندي window الي ابيه انو محد يقدر يفتح الى قروب معين اسمه donators و الي مو في دونيتور يقوله [Donators] Sorry ur are not in Donators اسم الويندو win = guiCreateStaticImage(52,52,500,400, "manager.png", false ) -- windows donators
-
تقدر تقول لكن يمقن عشان اكوادي ملخبطه لكن الي سويته ضفت تحت gridlist guiGridListSetSortingEnabled(gridOnlinePlayers, false)
-
UP ------------ no one listen to me guys i need help
-
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
-
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 );
-
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
-
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 ما ضبط يا مستر داوكس ذا كود الي يطلع الاسم بي القريد
-
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 );
-
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 );
-
المشكله في الفلوس ما تطلع اذا كنت حاط #ff9900 او اي كود الوأأن بأسمي اما بدون كود تطلع
-
السلام عليكم عندي مشكله خفيفه شوفو الصوره بدون كود الأوان الفلوس موجوده ولكن شوفو لمن اكود حط الوان بأسمي
-
نفس الشيء صلحت الخطأء لكن الفلوس ثأأبته ما تتغير بس تجي للاأأعب حق الجهاز
-
طيب ممكن حد يسويلي التريقر ادري انه نضام تعلم لاكن انتم سأأعدوني
-
كود الاسم 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 )
