-
Posts
171 -
Joined
-
Last visited
Everything posted by mustang
-
مشكوور ، مشكور جدا
-
ترى ضفتك سكايب
-
مشكور ههه
-
Ops , wasnt supposed to be written like this , fixed ^
-
try using variables for example : client : function onGuiClick1 () if (source == enablewater) then W = dxCreateShader ( "water.fx" ) if W then local textureVol = dxCreateTexture ( "smallnoise3d.dds" ); local textureCube = dxCreateTexture ( "cube_env256.dds" ); dxSetShaderValue ( W, "microflakeNMapVol_Tex", textureVol ); dxSetShaderValue ( W, "showroomMapCube_Tex", textureCube ); engineApplyShaderToWorldTexture ( W, "waterclear256" ) applyWaterColor ( ) shaderValue = 1 -- EDITED LINE HERE end elseif (source == disablewater) then shaderValue = 2 -- EDITED LINE HERE engineRemoveShaderFromWorldTexture(W,"waterclear256") end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick1) -- shaderValue : 1 = enabled 2 = disabled shaderValue = 1 addEvent ( "mapchanged", true ) --if the vehicle is a car addEventHandler ( "mapchanged", root, function () if shaderValue == 1 then -- your stuff here (what you want to apply if the shader was enabled) elseif shaderValue == 2 then -- stuff here(what you want to apply if the shader was disabled) end end) server addEventHandler ( "onPlayerSpawn", getRootElement(), function( playerName ) local thePlayer = getPlayerFromName ( playerName ) triggerClientEvent ( "mapchanged", thePlayer ) end) iam not that good but trying to help
-
Nice, not bad at all , does it have movement (like moving animation) or just TPs ? will try it soon
-
ما في أية مشكله ، بالخدمة ، إنشالله تحصل الملف لإنه أنا مصمم و أعرف كم هو متعب
-
الفكرة ليست مستحيله ، بالنسبه لو بيدك قنابل و صواريخ و غيره createProjectile أما لل سلاح فهو ليس مستحيل ، أنا بشوفلك شكرا لك الشرح سهل وفهمته ورح ابدأ في تعلم برمجة lua العفو ، مثل ما قال زاحف الكود إلحطه للسلاح ، بس أعتقد إنه إنت لازم تحط صوت الطلق راح تحتاج للست : https://wiki.multitheftauto.com/wiki/Element/Effect للصوت : playSound3D
-
أنا ما بعرف كثير عن السكريبت صراحة
-
تفضل : local webBrowser = createBrowser(1200, 675) -- حجم الشاشة addCommandHandler("youtube", -- كوماند التشغيل function() browserLoadURL(webBrowser, "https://www.youtube.com/watch?v=kdemFfbS5H0") -- هنا رابط الفيديو addEventHandler("onClientRender", root, function() updateBrowser(webBrowser) local x, y = 110.7, 1024.15 dxDrawMaterialLine3D(x, y, 23.25, x, y, 14.75, webBrowser, 18.2, tocolor(255, 255, 255, 255), x, y+1, 19) -- بزشن الفيديو end ) end ) و إذا بيدك حط الفيديو "خاص" من خلال إل يوتيوب على فكرة هو يفتح أية موقع كمان
-
حمل الفيديو على يوتيوب و شغله من هناك ، بسيطه
-
الفكرة ليست مستحيله ، بالنسبه لو بيدك قنابل و صواريخ و غيره createProjectile أما لل سلاح فهو ليس مستحيل ، أنا بشوفلك
-
تسلم ، ١٠٠% راح أستمر
-
مشكووووور !
-
you gave me a freaking great idea , instead i will use SetVehicleComponentVisible thanks mate , what i meant is i will do several vehicle component in the model editing program(3ds max) and i will hide the component that i dont want to show
-
It seems that i will have to replace it with another vehicle , anyways thanks for the replays
-
I already placed the Cop version of the mod on "alpha" cz it got the same sound but i think its not possible
-
I created an infernus mod (Check signature) and i have an idea of making two diffrent types of the infernus , one normal and one with the new mod , in other words , i wanna place two model files on the same vehicle (.dff & .txd) i dont know how to set this up , i just had this idea in my mind i havent searched about this subject or anything , i just wanna know if its possible , and if it then i would like an explanation on how to do it . *i want this to show to all players not only clientside Peace (dont forget to check the new infernus and leave a comment)
-
ميزة نسيت أن أذكرها (*)
-
يقلك خاص فقط شكرا لك
-
مشكوور أخي !
