SA-MP Forums Archive
Object edit 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 edit prob (/showthread.php?tid=428433)



Object edit prob - [..MonTaNa..] - 05.04.2013

.....


Re: Object edit prob - L.Hudson - 05.04.2013

How about telling us what the problem is.


Re: Object edit prob - [..MonTaNa..] - 05.04.2013

Removed.


Re: Object edit prob - [..MonTaNa..] - 05.04.2013

Anyone?


Re: Object edit prob - [..MonTaNa..] - 06.04.2013

Bump


Re: Object edit prob - Edvin - 06.04.2013

The reason why other players don't see the object to move, it's this variable:
Quote:

EditDynamicObject(playerid, PlayerObject[playerid][objectid]);

Use a global variable, like "g_ObjectID = some value":
Код:
EditDynamicObject(playerid, g_ObjectID);
PS> Replace "PlayerObject[playerid][objectid]" with "g_ObjectID"


Re: Object edit prob - [..MonTaNa..] - 06.04.2013

Removed.


Re: Object edit prob - [..MonTaNa..] - 06.04.2013

Removed.