Jump to content

#Selly

Members
  • Posts

    13
  • Joined

  • Last visited

Details

  • Gang
    None

#Selly's Achievements

Square

Square (6/54)

0

Reputation

  1. ^ When i test the code i get a white tail light ^ that's what i want
  2. myShader = dxCreateShader( "Shader.fx" ) Texture = dxCreateTexture("Skin.png") dxSetShaderValue(myShader, "Skin", Texture) addEventHandler("onClientVehicleEnter", root, function(thePlayer, seat) local theVehicle = source if seat == 0 and thePlayer == localPlayer then engineApplyShaderToWorldTexture( myShader, "vehiclelightson128", theVehicle ) if ( isPedInVehicle ( thePlayer ) ) and ( getVehicleOverrideLights ( getPedOccupiedVehicle ( thePlayer ) ) ~= 2 ) then setVehicleOverrideLights ( getPedOccupiedVehicle ( thePlayer ), 2 ) else setVehicleOverrideLights ( getPedOccupiedVehicle ( thePlayer ), 1 ) end end end ) texture gTexture; technique hello { pass P0 { Texture[0] = gTexture; } }
  3. Sorry for the late reply , But can i do it with shaders ?
  4. Hello, Is there functions to make hazard lights in mta sa ? , Cause i saw it on a server, and if there is can you give me the functions to make them
  5. يعطيكم العافية .. !
  6. إسم القريدليست غلط 2. انت محطي للوحة ومحطي لمن يخش الماركر يظهرها صفر يعني م تنشافAlphaاصلن هي ظاهره لاكن مخفيه لانك محطي ال عشان كذا سوي زي كذا guiWindow = guiCreateWindow (...) guiSetVisible(guiWindow, false) ولمن يخش الماركر guiSetVisible(guiWindow, true) وبنسبة للقريدليست والاشياء الثانية ليه م تظهر ؟ لان احداثياتها خططططا عدلها الاحداثيات انا مزينها من الـ Guieditor / اللوحة مخفيها عشان مابيها تطلع فوق لوحة الدي اكس بس ابي القريد لست تطلع بس بجرب كودك وارد لك خبر
  7. * مشكلتي ان اللوحة ماتطلع الازرار والقريد لست / بس الدي اكس الي تطلع * حاولت فيه نزلت فنكشن النافذه تحت فنكشن الدي اكس ومانفع ورفعته فوق ومانفع / والديبق مايطلع شي
  8. --------------------------------------
  9. dWindow -- لوحة الـ Dx
  10. -----------------------------------
×
×
  • Create New...