Yes, but as I said I guess a texture name is needed to apply the shader, isn't it? It'll be a random object from a house, that's why I could not figure out how to do that.
Hello guys,
I've been trying to discover some way to insert a texture in an element ( object ) but I just could not figure out how could I do that.
I remembered shaders but unfortunally I would need the texture name which I don't have and the only way was to make a full list of textures of the objects of houses.
Does someone knows any other way to do that?
Note that I'm not asking for any script, just an idea how could I achieve that.
To create a marker using a string variable as its variable name just do that:
_G[variableName] = createMarker(...)
--or
loadstring(variableName .. ' = createMarker(...)')()