OnPlayerEditObject not called
#1

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...


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!");
}
The OnPlayerEditObject function is not called at all, does anyone have a solution for this?

Thanks
Reply
#2

I know this is old, but this just happened to me, I'm testing something and found this issue. so weird.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)