12.02.2018, 14:34
Hi, everyone.
I want to make the object that created by CreatePlayerObject function, attach to other player.
i mean, many players can attach PlayerObject to one player (this is NPC, and NPC don`t need PlayerObject)
this is my code.
this code is not working.
plz help me!
sorry for my bad english :3
I want to make the object that created by CreatePlayerObject function, attach to other player.
i mean, many players can attach PlayerObject to one player (this is NPC, and NPC don`t need PlayerObject)
this is my code.
Код:
NPCInfo[npcid][Mark][playerid] = CreatePlayerObject(playerid,18631, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); SetObjectMaterial(NPCInfo[npcid][Mark][playerid], 0, 1239, "icons6", "lyellow32", 0xFFFFFFFF); AttachObjectToPlayer(NPCInfo[npcid][Mark][playerid], npcid, 0.0, 0.0, 1.2, 0.0, 0.0, 0.0);
plz help me!
sorry for my bad english :3