Can anybody confirm that OnPlayerEditAttachedObject is working at the moment?
Thats my code and i dont get the Test Message
Код:
public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
{
SendClientMessage(playerid, 0xFF0000FF, "Test");
if(0.0 < fScaleX <= 1.5 || 0.0 < fScaleY <= 1.5 || 0.0 < fScaleZ <= 1.5)
{
SendClientMessage(playerid, 0xFF0000FF, "* Dein Item wird zu groЯ oder zu klein!");
new item;
item = GetPVarInt(playerid,"brille");
SetPlayerAttachedObject(playerid, 3, item, 2, 0.201, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, -1);
EditAttachedObject(playerid, 3); // Edit again
}
if(0.0 < fOffsetX <= 0.5 || 0.0 < fOffsetY <= 0.5 || 0.0 < fOffsetZ <= 0.5)
{
SendClientMessage(playerid, 0xFF0000FF, "* Dein Item wird zu groЯ oder zu klein!");
new item;
item = GetPVarInt(playerid,"brille");
SetPlayerAttachedObject(playerid, 3, item, 2, 0.201, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, -1);
EditAttachedObject(playerid, 3); // Edit again
}
}
thx