Help me about coding "Objects Loaded"
#7

So, to help this guy out... he wants a timer that freezes the player while objects are loading..
so:
under #include <a_samp>
forward Freezeobj(i);

On the commands, like teleports to places with objects put:
SetTimerEx("Freezeobj",5000,0,"d",playerid);
so that will freeze player for 5000 miliseconds

and at very end of your script put
public Freezeobj(i) TogglePlayerControllable(i,1);

Should work now

Reply


Messages In This Thread
Help me about coding "Objects Loaded" - by xCoder - 09.12.2009, 19:01
Re: Help me about coding "Objects Loaded" - by mprofitt - 09.12.2009, 19:02
Re: Help me about coding "Objects Loaded" - by xCoder - 09.12.2009, 19:08
Re: Help me about coding "Objects Loaded" - by Joe Staff - 09.12.2009, 19:12
Re: Help me about coding "Objects Loaded" - by Google63 - 09.12.2009, 19:41
Re: Help me about coding "Objects Loaded" - by Joe Staff - 09.12.2009, 19:46
Re: Help me about coding "Objects Loaded" - by patchkinson - 09.12.2009, 19:53

Forum Jump:


Users browsing this thread: 5 Guest(s)