Quote:
Originally Posted by [03
Garsino ]
Quote:
Originally Posted by $ЂЯĢ
If you want that objects are aloded faster for players at specific situations you can force them to load faster with Streamer_Update(Ex) without lowering global tickrate and affecting all other streamed elements.
|
Well, I do that. But I have to freeze the player to, and then set a timer to unfreeze him after 2-4 seconds to make the objects load.
|
I wouldn't freeze a player then StreamerUpdateEx because it mess's them up, you should do something like this
pawn Код:
StreamerUpdateEx(playerid, x,y,z);
// then there position
SetPlayerPos(playerid, x,y,z);
// then freeze them
TogglePlayerControllable(playerid, 0);
// then a timer to unfreeze them
SetTimerEx("unfreeze", 1000, 0, "i", playerid);
//then your function to unfreeze them
function unfreeze(playerid){
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, color, "Object's Loaded.");}
Do it in that order and you will find that you won't need to toggle there position for more then 1 second.