SA-MP Forums Archive
Object prob - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Object prob (/showthread.php?tid=427015)



Object prob - [..MonTaNa..] - 31.03.2013

....


Re: Object prob - Pottus - 31.03.2013

Wrong call back man try using.

Код:
forward OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz);
Additionally you might want to put this in I'm not sure if it would be buggy to try and move a moving object never tested it but you might want to do this.

Код:
 if(IsDynamicObjectMoving(objectid))  StopDynamicObject(objectid);
Also moving dynamic objects is significantly slower to respond than using MoveObject() (I noticed this when creating a script which lets the player throw objects by pre-calculating the frames MoveDynamicObject() had very poor performance)


Re : Object prob - DaTa[X] - 31.03.2013

you need to update the object for all the players when you finish editing it !
edit : oh i forgot you are using streamer