
CRoW,,#
Members-
Posts
646 -
Joined
-
Last visited
Everything posted by CRoW,,#
-
addCommandHandler("xd", function () local x1,y1,z1, = getWaterColor () setClipboard(" "..x1..","..y1..","..z1.." ") end ) كذا صح ؟ + مدري وش كنت اسوي بدونكك
-
يب اعرف سويتهه مع لون السماء لكن المشكلة معرف وش اللون الاصلي
-
طيب اذا ضغطت ع الزر حق تغير لون المويه مرة ثانية ووقف التلوين ابيهه يرجع للونه الاصلي
-
اها توني افهم ذذ خلاص تم الافادة يعطيك العافية
-
كودك ما ضبط لكن كود برسستيج ضبط
-
تسسسسسسسسسسلم ضبط بس تقدر تشرح لي من وين جات ذي الوظائف لان الكود تغير 360 درجة صرت ماعرف فيهه شي
-
خلاص مابي السيارة ابيهه اذا ضغط ع نفس الزر يلغي الوظيفةة
-
طيب اذا بغيت اعكس العملية بحيث اذا ضغط ع الزر مرة ثانية يوقف انا سويتهه كذا بس ما ضبط addEventHandler("onClientGUIClick", root, function () if source == GUIEditor_Button[2] then theTimer = setTimer(function() setSkyGradient(math.random(255),math.random(255), math.random(255), math.random(255),math.random(255),math.random(255)) end, 350,0) elseif ( source == GUIEditor_Button[2] ) then if ( isTimer ( theTimer ) ) then killTimer ( theTimer ) elseif ( source == GUIEditor_Button[1] ) then theT = setTimer(function() setWaterColor(math.random(255),math.random(255), math.random(255)) end, 350,0) elseif ( source == GUIEditor_Button[1] ) then if ( isTimer ( theT ) ) then killTimer ( theT ) elseif ( source == GUIEditor_Button[3] ) then uVehicle = getPedOccupiedVehicle( localPlayer ) if uVehicle then theC = setTimer(function() local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) setVehicleColor( uVehicle, r, g, b ) end, 350,0) elseif ( source == GUIEditor_Button[3] ) then if ( isTimer ( theC ) ) then killTimer ( theC) end end end )
-
elseif ( source == GUIEditor_Button[3] ) then theC = setTimer(function() local uVehicle = getPedOccupiedVehicle( localPlayer ) if uVehicle then local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) end, 350,0) setVehicleColor( uVehicle, r, g, b )
-
تأكد من احداثياتك خلاص طلع بس السيارة تتلون ممثل الفلاش
-
خلاص ضبط بس الزر حق تلوين السيارة ماهوب راضي يظهر
-
تقصد GUIEditor_Label = {} يب معرف
-
برضو ما ضبط wnd = guiCreateWindow(0.2537,0.2183,0.4812,0.4967,"",true) guiSetAlpha(wnd,1) GUIEditor_Label[5] = guiCreateLabel(131,28,154,45,"Color System",false,wnd) GUIEditor_Button[1] = guiCreateButton(9,105,111,35,"تلوين البحر",false,wnd) GUIEditor_Button[2] = guiCreateButton(235,105,111,35,"تلوين السماء",false,wnd) GUIEditor_Button[3] = guiCreateButton(130,197,111,35,"تلوين الموتر",true,wnd) guiSetVisible (wnd, false) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin) addEventHandler("onClientGUIClick", root, function () if source == GUIEditor_Button[2] then theTimer = setTimer(function() setSkyGradient(math.random(255),math.random(255), math.random(255), math.random(255),math.random(255),math.random(255)) end, 350,0) elseif ( source == GUIEditor_Button[1] ) then theT = setTimer(function() setWaterColor(math.random(255),math.random(255), math.random(255)) end, 350,0) elseif ( source == GUIEditor_Button[3] ) then local uVehicle = getPedOccupiedVehicle( localPlayer ) if uVehicle then local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) setVehicleColor( uVehicle, r, g, b ) end end end )
-
ههههههههههههههههههههههـــ قويةة ذذ
-
ما ضبط
-
wnd = guiCreateWindow(0.2537,0.2183,0.4812,0.4967,"",true) guiSetAlpha(wnd,1) GUIEditor_Label[5] = guiCreateLabel(131,28,154,45,"Color System",false,wnd) GUIEditor_Button[1] = guiCreateButton(9,105,111,35,"تلوين البحر",false,wnd) GUIEditor_Button[2] = guiCreateButton(235,105,111,35,"تلوين السماء",false,wnd) GUIEditor_Button[3] = guiCreateButton(130,197,111,35,"تلوين الموتر",false,wnd) guiSetVisible (wnd, false) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin) addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) addEventHandler("onClientGUIClick", root, function ( ) if source == GUIEditor_Button[2] then theTimer = setTimer(function() setSkyGradient(math.random(255),math.random(255), math.random(255), math.random(255),math.random(255),math.random(255)) end, 350,0) elseif ( source == GUIEditor_Button[1] ) then theT = setTimer(function() setWaterColor(math.random(255),math.random(255), math.random(255)) end, 350,0) elseif ( source == GUIEditor_Button[3] ) then function uPlayer() if isPedInVehicle( uPlayer ) then local uVehicle = getPedOccupiedVehicle( uPlayer ) if uVehicle then local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) setVehicleColor( uVehicle, r, g, b ) end end ) وش الخطا بذا الكود
-
طيب انا شفت ذي الحركة بسيرفر بسسول
-
موب راضي يضبط ركبت المود وشغلتهه بعدين حطيت الكود حق الاتصال في اول الكود حقي exports.widescreen:showPlayerWideScreen(50, 10000, 255)
-
سويتهه بسس ما ضبط function cameraMoveSoft(camPosX, camPosY, camPosZ, newCamPosX, newCamPosY, newCamPosZ, camLookX, camLookY, camLookZ, newCamLookX, newCamLookY, newCamLookZ, typeCameraMove) local x = 0 local y = 0 function moveCamera() x = x + 0.00011 y = y + 0.1000 local cameraX, cameraY, cameraZ = interpolateBetween(camPosX, camPosY, camPosZ, newCamPosX, newCamPosY, newCamPosZ, x, "Linear") local lookX, lookY, lookZ = interpolateBetween(camLookX, camLookY, camLookZ, newCamLookX, newCamLookY, newCamLookZ, y, "Linear") setCameraMatrix(cameraX, cameraY, cameraZ, lookX, lookY, lookZ) if cameraX == newCamPosX and cameraY == newCamPosY and cameraZ == newCamPosZ and lookX == newCamLookX and lookY == newCamLookY and lookZ == newCamLookZ then removeEventHandler("onClientRender", getRootElement(), moveCamera) end end addEventHandler("onClientRender", getRootElement(), moveCamera) end cameraMoveSoft(-2681,1408,70, -2681,2122, 100, 0, 0, 0, 0, 200000, 0, "Linear") local screenWidth, screenHeight = guiGetScreenSize() local y = screenHeight - screenHeight/4 local height = screenHeight/4 local wideScreenSize, alpha = 0, 0 local fadeOutSpeed = 7 local widescreen = {} addEvent("showWideScreenServer", true) local fadeOutTimer function showPlayerWideScreen(50, 10000, 255) if ( type(wideScreenSize) == "number" and wideScreenSize <= height ) then if ( alpha and alpha >= 255 ) then return false end -- Show the Wide Screen widescreen.values = {y = y, size = (height - wideScreenSize), alpha = alpha or 250} addEventHandler("onClientRender", root, createWideScreen) else return false end if ( not timeToFadeOut ) then return false end -- Fade out the Wide Screen local timeToFadeOut = tonumber(timeToFadeOut) fadeOutTimer = setTimer( function() addEventHandler("onClientPreRender", root, fadeOutWideScreen) end, timeToFadeOut, 1 ) return true end function createWideScreen() y = widescreen.values["y"] wideScreenSize = widescreen.values["size"] alpha = widescreen.values["alpha"] dxDrawRectangle(0, 0, screenWidth, height - wideScreenSize, tocolor(0, 0, 7, alpha), true) dxDrawRectangle(0, y + wideScreenSize, screenWidth, height - wideScreenSize, tocolor(0, 0, 7, alpha), true) end function fadeOutWideScreen() widescreen.values["y"] = widescreen.values["y"] + fadeOutSpeed height = height - fadeOutSpeed destroyWidescreen() end function destroyWidescreen() if ( height < 1 ) then if removeEventHandler("onClientPreRender", root, fadeOutWideScreen) then removeEventHandler("onClientRender", root, createWideScreen) y = screenHeight - screenHeight/4 height = screenHeight/4 end end end addEventHandler( "showWideScreenServer", root, function (wideScreenSize, timeToFadeOut, alpha) if ( type(wideScreenSize) == "number" and type(timeToFadeOut) == "number" ) then if wideScreenSize <= height then showPlayerWideScreen(wideScreenSize, timeToFadeOut, alpha) else outputDebugString("widescreen: The size limit is "..height, 2, 220, 0, 0) end end end )
-
! ابيه الكميرا وهي تتحرك تصير من ع الجوانب سودة
-
وش دخل التايمر ابي ادمجهه @/: يعني والكميرا تتحرك !يجي
-
Usage: - Client-side: exports.widescreen:showPlayerWideScreen(widescreenSize, timeToFadeOut, [ alpha ]) - Server-side: exports.widescreen:showPlayerWideScreen(thePlayer, widescreenSize, timeToFadeOut, [ alpha ]) Required arguments: - Client-side: float widescreenSize, int timeToFadeOut (miliseconds). - Server-side: player thePlayer, float widescreenSize, int timeToFadeOut (miliseconds). Optional argument: int Alpha (widescreen alpha). Example (client-side): exports.widescreen:showPlayerWideScreen(110, 10000, 255) عنده طريقةة @:
-
يخلي الشاشة من ع الجنب سودة +حاولت ما يضبط
-
ابي ادمج ذا المود https://community.multitheftauto.com/ind ... ls&id=6974 بذا الكود function cameraMoveSoft(camPosX, camPosY, camPosZ, newCamPosX, newCamPosY, newCamPosZ, camLookX, camLookY, camLookZ, newCamLookX, newCamLookY, newCamLookZ, typeCameraMove) local x = 0 local y = 0 function moveCamera() x = x + 0.00011 y = y + 0.1000 local cameraX, cameraY, cameraZ = interpolateBetween(camPosX, camPosY, camPosZ, newCamPosX, newCamPosY, newCamPosZ, x, "Linear") local lookX, lookY, lookZ = interpolateBetween(camLookX, camLookY, camLookZ, newCamLookX, newCamLookY, newCamLookZ, y, "Linear") setCameraMatrix(cameraX, cameraY, cameraZ, lookX, lookY, lookZ) if cameraX == newCamPosX and cameraY == newCamPosY and cameraZ == newCamPosZ and lookX == newCamLookX and lookY == newCamLookY and lookZ == newCamLookZ then removeEventHandler("onClientRender", getRootElement(), moveCamera) end end addEventHandler("onClientRender", getRootElement(), moveCamera) end cameraMoveSoft(-2681,1408,70, -2681,2122, 100, 0, 0, 0, 0, 200000, 0, "Linear") ^لاني بصراحة ماعرفت للمود الي فوق