What function is this?
#1

I am creating a system to position objects and my doubt is when pressing the diskkete that function will be called?

Reply
#2

Either https://sampwiki.blast.hk/wiki/OnPlayerEditAttachedObject if it's an attached object or https://sampwiki.blast.hk/wiki/OnPlayerEditObject if not.

They are also called when pressing ESC in the selection.
Reply
#3

That's saving it.

Quote:

response 0 if they cancelled (ESC) or 1 if they clicked the save icon.

Reply
#4

It works for me, thank you very much. How can I get the angle of the object to save it?
Reply
#5

PHP код:
(playeridplayerobjectobjectidresponseFloat:fXFloat:fYFloat:fZFloat:fRotXFloat:fRotYFloat:fRotZ
Float:fX, Float:fY, Float:fZ = Position
Float:fRotX, Float:fRotY, Float:fRotZ = Angle (rotation)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)