SA-MP Forums Archive
Help, With Entering Mapped Interiors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help, With Entering Mapped Interiors (/showthread.php?tid=175783)



Help, With Entering Mapped Interiors - Matthew_Johnston - 11.09.2010

I Have Everthin, Working.. Except when I Enter some encounters, It loads the Object too late and I Fall straight Through the Floor!

How Could I Freeze Myself to let it Load on /enter?


Re: Help, With Entering Mapped Interiors - [L3th4l] - 11.09.2010

Umm, use the plugin by Incognito, the new version loads objects faster. I used to freeze a player for like 2 - 3 seconds so the objects could load, now i don't need to. It loads fast!


Re: Help, With Entering Mapped Interiors - Matthew_Johnston - 11.09.2010

Im not using an Object Streamer Anywho, But I would Still Like to know how to Make a Timed Freeze :P For Multiple Reasons


Re: Help, With Entering Mapped Interiors - R@ger - 11.09.2010

use SetTimerEx function

https://sampwiki.blast.hk/wiki/SetTimerEx


Re: Help, With Entering Mapped Interiors - Matthew_Johnston - 11.09.2010

I Know SetTimerEx, I Use it for Payday.. But How would I Implemente Freezing for like 20 Seconds into a Command?


Re: Help, With Entering Mapped Interiors - R@ger - 11.09.2010

Well i am not pro with settimerex function....

Код:
if(strcmp(cmd, "/enter", true) == 0)
{
     if(IsPlayerConnected(playerid))
      {
       SetTimerEx("Streamer",20000,false,i,playerid);
       SetPlayerPos(playerid,X,Y,Z);
      }
}
Код:
forward Streamer(playerid);
Код:
public Streamer(playerid)
{
  TogglePlayerControllable(playerid,1);
}



Re: Help, With Entering Mapped Interiors - Matthew_Johnston - 11.09.2010

Aw Thanks mate :P