OnPlayerEditObject not called - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerEditObject not called (
/showthread.php?tid=567047)
OnPlayerEditObject not called -
lewismichaelbbc - 10.03.2015
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
Re: OnPlayerEditObject not called -
amirm3hdi - 16.05.2017
I know this is old, but this just happened to me, I'm testing something and found this issue. so weird.