13.07.2016, 12:57
SetObjectMaterial is used for objects created with CreateObject function
SetPlayerObjectMaterial is used for objects created with CreatePlayerObject function
Difference between CreateObject and CreatePlayerObject is that CreateObject will create object for everyone, while CreatePlayerObject will create object seen only by given player.
About material text not changing. Usually when i have such problem i just copy/paste new.pwn into gamemodes and test it in clean GM. So should you. I dont see reason why it would not work if you did as you say.
The only thing i noticed is "711c" and "711c_c" for texture name. Texture name must be exact name of TXD file used.
SetPlayerObjectMaterial is used for objects created with CreatePlayerObject function
Difference between CreateObject and CreatePlayerObject is that CreateObject will create object for everyone, while CreatePlayerObject will create object seen only by given player.
About material text not changing. Usually when i have such problem i just copy/paste new.pwn into gamemodes and test it in clean GM. So should you. I dont see reason why it would not work if you did as you say.
The only thing i noticed is "711c" and "711c_c" for texture name. Texture name must be exact name of TXD file used.