SA-MP Forums Archive
Objects in class selection not shown. - 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 in class selection not shown. (/showthread.php?tid=468867)



Objects in class selection not shown. - Mellnik - 10.10.2013

I have noticed that streamed objects are not being shown in the class selection where normal objects (CreateObject) are.

So is there a workaround or did I make a mistake?


Re: Objects in class selection not shown. - park4bmx - 10.10.2013

Are they in the same interior ?

But I think they don't stream, as I'm using my spawn place under OnPlayerConnect


AW: Objects in class selection not shown. - Mellnik - 11.10.2013

No, they are in the normal world.

I set the camera and player position under OnPlayerRequestClass and the objects are ofc created at gamemode start.


Re: Objects in class selection not shown. - Konstantinos - 11.10.2013

Read the following quote.

Quote:
Originally Posted by Incognito
Native Notes
  • Use Streamer_UpdateEx to preload items before setting a player's position or to stream items under OnPlayerRequestClass.
  • Virtual worlds, interiors, and players can only be modified or read through the array data manipulation natives (Streamer_GetArrayData and Streamer_SetArrayData, for example).



AW: Objects in class selection not shown. - Mellnik - 11.10.2013

Thank you but I have concern that the objects still may not display for players with high ping etc.


Re: Objects in class selection not shown. - Konstantinos - 11.10.2013

It may does, it may not. I'm not sure, Mellnik.

You might be able to test it yourself by increasing your ping (downloading/uploading) and connect to localhost to see.


Re: Objects in class selection not shown. - boomerboom - 11.10.2013

Maybe lag?Objects stream slow but it may be a bug.Updates you plugins then.