09.03.2014, 04:36
Okay so I am having a few problems with incognitos streamer.
Lets say a player sean places his boombox it calls this code
then he leaves the area he placed his boombox while another player called David decides they want to pick their boombox up. it calls
Sean comes back to his boombox and decides he wants to pick it up as well but since the object isn't streamed for anybody it gets recreated with a different id and is unable to do it.
I hope this makes sense for you but pretty much when an object gets deleted other objects that aren't streamed in for any players the ids get shifted around. Not modelids objectids.
Is there any way to stop this without using CreateObject instead?
Lets say a player sean places his boombox it calls this code
pawn Код:
playersBoombox[playerid] = CreateDynamicObject(...);
pawn Код:
DestroyDynamicObject(playersBoombox[playerid]);
I hope this makes sense for you but pretty much when an object gets deleted other objects that aren't streamed in for any players the ids get shifted around. Not modelids objectids.
Is there any way to stop this without using CreateObject instead?