SA-MP Forums Archive
Objects problem - 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: Objects problem (/showthread.php?tid=636629)



Objects problem - Mijata - 01.07.2017

Why i can't see objects onplayerrequestclass i tryed to remove virtual worlds but same...


Re: Objects problem - Astralis - 01.07.2017

To show objects in any virtual world use ,-1); at end of the lines.

Also update streamer plugin and includes. CreateDynamicObject should be used.


Re: Objects problem - NaS - 01.07.2017

Keep the Virtual Worlds as they are, no need to change them.

During OnPlayerRequestClass the Streamer doesn't know where the Player is to show the Objects.
To manually update the position (and virtual world/interior) use Streamer_UpdateEx(). Use the Virtual World that the objects are in. The Player doesn't have to be in that Virtual World.


Re: Objects problem - Mijata - 01.07.2017

Same problem i can't see objects when im selecting team


Re: Objects problem - Mijata - 01.07.2017

Fixed ty

Quote:
Originally Posted by NaS
Посмотреть сообщение
Keep the Virtual Worlds as they are, no need to change them.

During OnPlayerRequestClass the Streamer doesn't know where the Player is to show the Objects.
To manually update the position (and virtual world/interior) use Streamer_UpdateEx(). Use the Virtual World that the objects are in. The Player doesn't have to be in that Virtual World.