10.03.2015, 13:58
okey so its not calling at all, I updated my plugins and it still does not get called.
The EditObject part works fine it lets me move the object without any trouble, but when I click the save icon the OnPlayerEditObject function is not called at all...
The OnPlayerEditObject function is not called at all, does anyone have a solution for this?
Thanks
The EditObject part works fine it lets me move the object without any trouble, but when I click the save icon the OnPlayerEditObject function is not called at all...
pawn Код:
new newobjid = Createobject(blabalbla
EditObject(playerid, newobjid);
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
{
if(response == EDIT_RESPONSE_FINAL)
{
SendClientMessageToAll(-1, "An Object has been edited and save button has been clicked!");
}
SendClientMessageToAll(-1, "An Object has been edited!");
}
Thanks