Posts: 314
Threads: 103
Joined: Jun 2014
Hey, I was thinking if there is a function like OnPlayerCancelEditObject... I know there's a function like CancelEdit(playerid).. But I want to make something like When Player Cancel Editing Object then GetObjectPos() and GetObjectRot()
Posts: 1,794
Threads: 104
Joined: Feb 2012
Reputation:
0
I don't really get it, could you please elaborate?
You want the object to get back to it's original position after the player has canceled editing?
Posts: 314
Threads: 103
Joined: Jun 2014
Nope, Lemme explain. Actually I want that When Player Cancels Editing Object's Position. Then After Clicking Cancel or Save I want to get objects Position and Rotation. So that I could Save its new x,y,z position in Scriptfiles.
Edit: I found the solution https://sampwiki.blast.hk/wiki/OnPlayerEditObject