Problem streaming in objects on class selection
#1

Before I had a problem, that the player would not see Streamer Plugin objects when he was choosing a class (OnPlayerRequestClass).

I managed to fix this by pre-loading the objects there, for example:
Код:
Streamer_UpdateEx(playerid, -1531.6973,2659.6013,71.8764);
Everything was working fine.. until I started showing a welcome textdraw. So when player connects, I do:
Код:
TogglePlayerSpectating(playerid, 1);
And after he has finished the register dialog:
Код:
TogglePlayerSpectating(playerid, 1);
This way he doesen't get sent to class selection too early, he stays at the default login background.

But this caused a problem for me.. when I use TogglePlayerSpectating, then the streamer objects wont get pre-loaded! It starts working when a player has spawned 1 time (because then there is no TogglePlayerSpectating).

So is there a fix so the objects could still be seen OnPlayerRequestClass? I need this because the classes are at different locations and there are objects which the player is standing on.
Reply
#2

Anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)