[BUG] Bugged ObjectID ? -
]B4E[kengston - 26.12.2010
I'd like to have a
Santa Hat on the Player's head.
But my Script doesn't works:
Код:
SantaHat[playerid] = CreateObject(19064,0,0,0,0,0,0,-1,-1,250.0,-1);
SetPlayerAttachedObject(playerid, 1, SantaHat[playerid], 2, 0.07, 0, 0, 88, 75, 0);
So does it looks:
Please help me. I think the ObjectID is bugged. Here I get the ObjectID:
Click Me
I hope you will help me.
]B4E[kengston
Respuesta: [BUG] Bugged ObjectID ? -
TheChaoz - 26.12.2010
pawn Код:
SetPlayerAttachedObject(playerid, 1, 19064, 2, 0.07, 0, 0, 88, 75, 0);
Re: [BUG] Bugged ObjectID? -
]B4E[kengston - 26.12.2010
Thank you chaoz
Edit:
Does anybody know the rights Coordinates for the Object?
Now it looks like this:
But i liked that it is placed right on the head.
Please help me again.
Re: [BUG] Bugged ObjectID ? -
Luka P. - 26.12.2010
Try to set X, Y offset to 0 and Z offset to 5
Re: [BUG] Bugged ObjectID ? -
]B4E[kengston - 26.12.2010
I have tried for 5 hours -,- But i didn't find the Cords.
Re: [BUG] Bugged ObjectID ? -
playbox12 - 26.12.2010
Quote:
Originally Posted by ]B4E[kengston
I have tried for 5 hours -,- But i didn't find the Cords.
|
Did you try what Luka P said? setting X and Y to 0 and Z to 5
pawn Код:
SetPlayerAttachedObject(playerid, 1, 19064, 2, 0, 0, 5);
Re: [BUG] Bugged ObjectID ? -
Bodo4you - 26.12.2010
This is what i use, and it works fine with most of the skins.
Код:
SetPlayerAttachedObject(playerid,1,19066,2,0.1099,0.019,0.0,0.0,90.0,90.0,1.1,1.1,1.1);
Re: [BUG] Bugged ObjectID ? -
leong124 - 27.12.2010
Most != all lol
Objects on the head is a very complex problem...
You'll need to find the offset of all the skins to make all of them suitable to be put on because the skins have different heights.
You may apply the offsets to skins with similar heights to reduce the time.