Objects loading freeze.
#1

When i enters a custom interior i fall down almost everytime. So ive made an "Objects Loading" it should freeze a player in the air when they enters. But when they enters they fall down on the ground and is freezed why cant i get it to freeze the player in the air? im using "TogglePlayerControllable" shouldn't that be enough to freeze them?.

pawn Код:
// when they enters:
SetPlayerInterior( playerid, 1);
SetPlayerPos( playerid, 27.406641, -693.139465, 2338.601611);
TogglePlayerControllable(playerid, 0);
OToggleControl = SetTimerEx("OToggle", 2000, false, "i", playerid);
GameTextForPlayer(playerid, "Objects Loading", 3000, 1);
pawn Код:
// the timer on public:
forward OToggle( playerid );
public OToggle( playerid )
{
    TogglePlayerControllable(playerid, true);
    KillTimer(OToggleControl);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)