open.mp forum
[Server] Map Dynamic Object Invisible Problem - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12)
--- Thread: [Server] Map Dynamic Object Invisible Problem (/showthread.php?tid=2005)



Map Dynamic Object Invisible Problem - LinesinRows - 2021-05-10

Hello,
?When I created dynamic object for map (In filter-script), some objects doesn't seem for player. What's the problem in this case?
? Thanks in advance.

Some code in map;

PHP Code:
tmpobjid CreateDynamicObject(19450164.7653041937.607055530.6008910.0000000.00000090.000000, -1, -1, -1300.00300.00);
SetDynamicObjectMaterial(tmpobjid018646"matcolours""grey-70-percent"0x00000000); 

Problem img;
https://ibb.co/y04czJT


RE: Map Dynamic Object Invisible Problem - LinesinRows - 2021-05-10

Problem solved
In OnGameModeInit() -> add
// For disappear obj
Streamer_SetVisibleItems(STREAMER_TYPE_OBJECT, 995);