Hello friends,
As you see in my pictures, i added new walls on LSPD parking place. Now i want to change the texture of the new walls to those which near, but how can i get the tecture lib if i know only object id?
As you see in my pictures, i added new walls on LSPD parking place. Now i want to change the texture of the new walls to those which near, but how can i get the tecture lib if i know only object id?
Code:
new Float:X, Float:Y, Float:Z;
new myobject;
GetPlayerPos(playerid, X, Y, Z);
myobject = CreateObject(19392,...);
SetObjectMaterial(myobject, 0, 3975, "???", "???", 0xFFFFFFFF);
Aucun commentaire:
Enregistrer un commentaire