15.01.2016, 19:03
Fixed. Thank you all very much.
If someone has this issue this is how I fixed the problem...
Instead of calling the move and save function constantly I used response to check if editing is done.
If someone has this issue this is how I fixed the problem...
Instead of calling the move and save function constantly I used response to check if editing is done.
Код:
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ) { if(response == EDIT_RESPONSE_FINAL) { MoveObject... Save... } }