Jump to content



Recommended Posts

You can use a shader.

Download this resosurce: http://community.mtasa.com/index.php?p= ... ls&id=2730

It contains a shader called "texreplace.fx". Add that shader as a "file" in your meta.xml, along with the png image you wish to use for the moon, then use this code in a client-sided script to replace the moon:

texShader = dxCreateShader ( "texreplace.fx" ) 
moonTexture = dxCreateTexture("yourMoonImage.png") -- Replace the filename to your image's file obviously 


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...