GetPlayerCameraTargetObject
#1

Hello,
I would like to report problem with GetPlayerCameraTargetObject. It isn't accure enough.

[ame]www.youtube.com/watch?v=UD61dlE08ks[/ame]

Also I suggest to fix Set(Player)ObjectMaterial. Options such as modelid, txdname, texturename when passing default params (-1 or none) shouldn't changing their texutre to default if it was set before. This should keep changed texture, and change only color for specific texture.
If hard to understand:

First, create an object and set texture:
Код:
SetObjectMaterial(CreateObject(19378, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0),0,14777,"int_casinoint3","GB_midbar06",0);
Now change only color:
Код:
SetPlayerObjectMaterial(playerid, obj, 0, -1, "none", "none", 0xFFFF0000);
The default texture is applied insead of the last one (14777,"int_casinoint3","GB_midbar06").
Reply


Messages In This Thread
GetPlayerCameraTargetObject - by KubiPL - 25.01.2015, 12:15
Re: GetPlayerCameraTargetObject - by d0 - 25.01.2015, 12:20
Re: GetPlayerCameraTargetObject - by KubiPL - 25.01.2015, 12:23
Re: GetPlayerCameraTargetObject - by codectile - 25.01.2015, 12:38
Re: GetPlayerCameraTargetObject - by n0minal - 25.01.2015, 13:40
Re: GetPlayerCameraTargetObject - by MP_Spec - 25.01.2015, 15:03

Forum Jump:


Users browsing this thread: 2 Guest(s)