SetObjectMaterial Issue
#5

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.
Reply


Messages In This Thread
SetObjectMaterial Issue - by SsHady - 13.07.2016, 12:47
Re: SetObjectMaterial Issue - by Dejan12345 - 13.07.2016, 12:49
Re: SetObjectMaterial Issue - by SsHady - 13.07.2016, 12:51
Re: SetObjectMaterial Issue - by Dejan12345 - 13.07.2016, 12:52
Re: SetObjectMaterial Issue - by DRIFT_HUNTER - 13.07.2016, 12:57
Re: SetObjectMaterial Issue - by Vince - 13.07.2016, 13:25
Re: SetObjectMaterial Issue - by Luicy. - 13.07.2016, 13:27

Forum Jump:


Users browsing this thread: 1 Guest(s)