Object loader
#3

Quote:
Originally Posted by SoldierX
Посмотреть сообщение
When a player goes through a interior, He usually falls cause the Interior is not loaded totally. It takes time. I was wondering if there is a script or FS which can fix that issue?
PS: I have 2% knowledge on Pawn and Could really use some explaination.
Код:
// CMD:enter or w/e yours is
     {
          TogglePlayerControllable(playerid,0); // freezes you
          SetTimerEx("AntiFall", 4000, false, "i", playerid); // timer that unfreezes you, code in it gets activated when timer ends, so after 4 seconds
     }
Код:
forward AntiFall
public AntiFall
{
     If(IsPlayerConnected(playerid));
     {
          TogglePlayerControllable(playerid,1);
          return 1;
     }
}
Hope you get the idea, and sorry for my mistakes if there are any, on the phone atm
Reply


Messages In This Thread
Object loader - by SoldierX - 13.03.2015, 15:09
Re: Object loader - by ATGOggy - 13.03.2015, 15:20
Re: Object loader - by JaydenJason - 13.03.2015, 16:03
Re: Object loader - by CalvinC - 13.03.2015, 16:05

Forum Jump:


Users browsing this thread: 1 Guest(s)