2020-05-12, 12:59 PM
(2020-05-12, 07:42 AM)Pinch Wrote:(2020-05-11, 12:34 PM)EvilShadeZ Wrote: I would rather suggest RestoreObjectForPlayer(playerid,object) or RestoreAllObjects(playerid) when open.mp client is launched. With these you can remove/restore when necessary (even in worlds)
It'd be same as if you created MAX_OBJECTS size array and stored such data so go ahead, it' already possible in pure PAWN if y guys really need this?:"D
Not necessarily possible. Yes, you can replace it with CreateObject or maybe a streamed object, but both are non-perfect solutions. One is eating in your global object limit, while the other one can have streaming issues, especially when combined with SetPlayerPos.