About OnPlayerEditDynamicObject
#4

public OnPlayerEditDynamicObject(playerid, objectid, response, Float, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
{
if(!IsValidDynamicObject(objectid)) return 0;
MoveDynamicObject(objectid, x, y, z, 10.0, rx, ry, rz);
if(response == EDIT_RESPONSE_FINAL)
{
//here SetDynamicObjectPos and SetDynamicObjectRot
}
return 1;
}

That's what i try to do. Actually, when i edit a dynamic object (EditDynamicObject), and when i hit save icon from samp GUI it's ok. But if i leave the place where the dynamic object is (respawn/kill/teleport on the map in other places), when i return near the object, it is not to the new position (edited), it is to it's old position. My question is: How to save dynamic object's position..
Reply


Messages In This Thread
About OnPlayerEditDynamicObject - by Adi007 - 20.03.2015, 19:09
Re: About OnPlayerEditDynamicObject - by Adi007 - 21.03.2015, 13:10
Re: About OnPlayerEditDynamicObject - by mirou123 - 21.03.2015, 13:20
Re: About OnPlayerEditDynamicObject - by Adi007 - 23.03.2015, 08:43
Re: About OnPlayerEditDynamicObject - by Adi007 - 26.03.2015, 10:27
Re: About OnPlayerEditDynamicObject - by Adi007 - 01.04.2015, 08:21
Re: About OnPlayerEditDynamicObject - by bigtigerbeee - 23.04.2015, 06:28
Re: About OnPlayerEditDynamicObject - by JaydenJason - 23.04.2015, 07:03
Re: About OnPlayerEditDynamicObject - by Colhisberg - 23.04.2015, 09:45

Forum Jump:


Users browsing this thread: 1 Guest(s)