Enabling player to move after MoveObject
#9

Quote:
Originally Posted by 0rb
Why not just do it under OnObjectMoved?
Well, if i was to put it under that, then when the first plant moves, the player would be controllable. I want it after all the plants have moved.

Quote:
Originally Posted by [B2K
Hustler ]
make a timer for the player.

pawn Код:
forward UnfreezPlayer(playerid);

SetTimerEx("UnfreezPlayer", 5000, false, "d", playerid); // put this AFTER your objects have moved

//put this anywhere outside callbacks, publics etc
public UnfreezPlayer(playerid)
{
    TogglePlayerControllable(playerid,1);
    SendClientMessage(playerid, 0x99FF00AA, "***You have been unfrozen :D");
}
I did this, works ok i guess. I just thought there'd be another way.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)