Save/Stop Editing Object
#1

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()
Reply
#2

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?
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)