MaterialObject
#1

In my own server i want to set material object for hospital sf so its 1 object all i want only to edit the ground how can i do it?
Reply
#2

Lets make it easy:
If i already have an object i want to edit its texture how??
{Note: i didn't add the object its on the map}
Reply
#3

https://sampwiki.blast.hk/wiki/SetObjectMaterial

Find the specific object in your script and apply material to it.
Reply
#4

The entire hospital plus ground is one object that has multiple textures.
You need to first remove the entire hospital using RemoveBuildingForPlayer and create it back using CreateObject.
After that you need to identify the exact texture you want and replace it with whatever you want. You do that with SetObjectMaterial.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)