Freez script, pleas
#1

Hi! i want to know its possible or not to make "Player Freez" I need to freez player to ~about 5 seconds i air,because my objects load to slow and every bodey fall in water. I use xObjects and i try to set Draw distance ,to 200 but it dosn't help me. And the freezer i need for "server start" where player spawns.

Somebodey pleas help me
Reply
#2

pawn Код:
forward UnFreeze(playerid);

public OnPlayerSpawn(playerid)
{
    TogglePlayerControllable(playerid, 0);
    SetTimerEx("UnFreeze", 5000, false, "i", playerid);
    return 1;
}

public UnFreeze(playerid)
{
    TogglePlayerControllable(playerid, 1);
}
Reply
#3

Big thank you it works ,but i hawe one question , its posible to make cars like this ? because im freez whan world loads,but cars fall in to water.
Reply
#4

Maybe make the cars Z coordinates bigger, so they take more time falling and objects can load?
Reply
#5

o thanks man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)