14.05.2012, 06:08
I want to attach object to player and to make all other player see object?
I try to use :
Problem with above code : "Other player`s not see object"
I try this :
Problem with above code :"Player camera is very weird acting and
not helping to restore camera in normal"
Question : Is it possible to make object attached to player to be visible to all other player without camera problem?
I try to use :
Код:
new Float:X, Float:Y, Float:Z; new myobject; GetPlayerPos(playerid, X, Y, Z); myobject = CreatePlayerObject(playerid, 19371, X, Y, Z+0.5, 0.0, 0.0, 0.0, 300.0); SetPlayerObjectMaterial(playerid, myobject, 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFFFF);
I try this :
Код:
new myobject; myobject = CreateObject(19341, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); AttachObjectToPlayer(myobject, playerid, 1.5, 0.5, 0.0, 0.0, 1.5, 2);
Код:
SetCameraBehindPlayer(playerid);
Question : Is it possible to make object attached to player to be visible to all other player without camera problem?