Posts: 2,524
Threads: 109
Joined: Sep 2009
Reputation:
0
The default SA:MP OnPlayerEditObject and OnPlayerSelectObject aren't being called when I use this plugin (I placed a printf line at the beginning and nothing was printed!). Why?
Posts: 213
Threads: 16
Joined: Mar 2012
Reputation:
0
So, when you set a player to a custom interior, sometimes he will fall through the floor because objects are not streamed fast enough. Any way to detect if all the objects that should be streamed for the player are actually streamed in? I know I can freeze the player and use a timer, but sometimes objects are streamed in faster than that so the freeze is not needed.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Or you can use Streamer_UpdateEx to pre-load the objects before setting the position to a player; however, using Streamer_UpdateEx and a timer of 1.5-2 seconds would be better.
Posts: 213
Threads: 16
Joined: Mar 2012
Reputation:
0
How long does Streamer_UpdateEx keep data for?
For example, if I'm in a custom interior and I use the /spectate option to spectate a player in another interior, can I use Streamer_UpdateEx in my /spectate command so that the custom interior I was in before spectating will stay loaded for me? When I use /specoff, my position is set back to the custom interior so I'll fall through the floor.
Also, can Streamer_UpdateEx be used multipl times to preload multiple interiors?
Posts: 1,190
Threads: 196
Joined: Dec 2011
Reputation:
0
what is the playerid = -1? what does?
Posts: 1,190
Threads: 196
Joined: Dec 2011
Reputation:
0
how i can see if the player enter the checkpoint with this streamer? it is the regular way or i need specials functions?
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Has anyone had problems with OnPlayerEditDyanmicObject() and OnPlayerSelectDynamicObject() not being called?
Posts: 1,003
Threads: 31
Joined: Jul 2013
Reputation:
0
I did, it calls fine here. Do you need my test code?
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Alright just making sure, I'll have to keep looking.
Lets see that test code anyways.
Posts: 370
Threads: 7
Joined: Dec 2012