RdX
Members-
Posts
181 -
Joined
-
Last visited
Everything posted by RdX
-
السلام عليكم اخواني انا ضبطت اليوزر وكله بفضل الله ثم بفضلكم وخاصة : Mr.Prestige , 3NAD , 3azef , r50 لكن الحين باقيلي اسخف مشكله الي هي الصور حاطه انا على 1024 x 768 x 32 و لمن احط 800 x 600 x 32 ما تطلع الصور كامله صوره للمشكله : ^^ 1024 x 768 x 32 ^^ ^^ 800 x 600 x 32 ^^
-
الاخ عنيد يقصد انه SetCameraMatrix يبيها تتحرك بتأثير بطيء الى ان توصل للمكان المحدد يليت تفهموه :]
-
Your Timer = setTimer ( function() -- code here end, 3000, 0 ) killTimer ( Your Timer)
-
addEventHandler ( "onClientGUIClick", ButtonName, -- بتن نيم اسم البتن الي تبي يتأاأكد من فلوسه function ( ) if ( getPlayerMoney ( ) >= 100 ) then -- 100 الفلوس -- guiCreateButton .. end end, false ) تم التأأكد من الاكواد
-
addEventHandler("onResourcesStart", function (thePlayer) setTeamFriendlyFire ( 'Army' , true ) end ) متأأكد من الكود مكان Army اسم التيم
-
بس ذي تتغير كل السيارات انا لا ابي الي يضغط الزر و تتلون سيارته و الناس تشوفها وهي تتلون
-
طيب ذا الكود لمن اشغله تتغير الوان سيارته لكن محد شوفه ليش function randomVehColors() local vehicle = getPedOccupiedVehicle(localPlayer) if vehicle then setVehicleColor(vehicle,math.random(255),math.random(153),math.random(3)) end end addEventHandler ( "onClientGUIClick", RianbowColor,function () setTimer( randomVehColors, 350, 0 ) end,false)
-
طيب ذا الكود صح بدون سحب الفلوس او لا setTimer(function () local vehicle = getPedOccupiedVehicle(localPlayer) if vehicle then setVehicleColor(vehicle,math.random(255),math.random(153),math.random(3)) end end,350,0) addEventHandler ( "onClientGUIClick", RianbowColor,function (player)
-
بس مو لزم تكون في ملف server ?
-
function randomVehColors() for i, car in ipairs( getElementsByType( "vehicle" ) ) do 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 ( car, color[1], color[2], color[3], color[4] ) end end addEventHandler ( "onClientGUIClick", RianbowColor,function () setTimer( randomVehColors, 350, 0 ) end,false) طيب ابيه لمن يضعط عليه يسحب من عنده 800 الف
-
السلام عليكم انا عندي اكواد اول ما اشغل المود تشتغل على طول انا ما ابيها تشتغل على طول الى اذا ضغطت Button الاكواد : function randomVehColors() for i, car in ipairs( getElementsByType( "vehicle" ) ) do 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 ( car, color[1], color[2], color[3], color[4] ) end end setTimer( randomVehColors, 350, 0 )
-
يا اخ عازف كودك ما شتغل و كود الاخ R50 اشتغل
-
الزر عندي لاكن انت عدل ذا الكود ذا على بتن DiscoLight اذا تقدر + كلينت موب سيرفر
-
السلام عليكمم شباب معي كود Color Light Disco و ابيه يشتغل بزر ما ابيه يشتغل بأمر هذا الكود local discoTimer = {} local discoState = {} function Disco(player,command) local vehicle = getPedOccupiedVehicle(player) if (vehicle) then if discoState[player] == false then discoState[player] = true discoTimer[player] = setTimer( function ( playerVehicle ) setVehicleHeadLightColor( playerVehicle, math.random(0,255), math.random(0,255), math.random(0,255) ) end , 100, 0, vehicle ) outputChatBox( "!!Disco-Fever!!", player, 0, 255, 0 ) else if discoTimer[player] then killTimer( discoTimer[player] ) discoTimer[player] = nil discoState[player] = false setVehicleHeadLightColor( vehicle, 255, 255, 255 ) end end else outputChatBox( "!!You have to sit in a Car/Bike!!", player, 255, 0, 0 ) end end addCommandHandler("disco",Disco)--Disco (((())) function setStateOnStart() for _, players in ipairs( getElementsByType( "player" ) ) do discoState[players] = false end end addEventHandler( "onResourceStart", getResourceRootElement( getThisResource() ), setStateOnStart ); function setStateOnJoin() discoState[source] = false end addEventHandler( "onPlayerJoin", getRootElement(), setStateOnJoin ) function removeStateOnQuit() discoState[source] = nil end addEventHandler( "onPlayerQuit", getRootElement(), setStateOnJoin )
-
Hi Guys I need Help I want to press the Disco Light 500K and change light colors change every second please help
-
طيب على الاقل علمني كيف ارتبها
-
انا قلت ابي مساعده ما قلت حط الكود و افقع ضضض
