Jump to content

Help please!


Mature

Recommended Posts

Hello guys, I have a problem where is the following, I am creating a system of clothes with shaders to have more varieties, it seems, I do not know how to apply the shader correctly, when the player goes to the store buys the clothes, the shader is applied to all players, but how do I get the newly connected player to see the shader? Can someone help me?

Link to comment
  • Moderators
16 hours ago, Hazardinho said:

the shader is applied to all players,

https://wiki.multitheftauto.com/wiki/EngineApplyShaderToWorldTexture

See syntax for target element.

 

16 hours ago, Hazardinho said:

how do I get the newly connected player to see the shader?

Create a table serverside containing the shader target information and send that over when they join. Shouldn't be too hard after following a table tutorial.

Edited by IIYAMA
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...