Help, With Entering Mapped Interiors
#1

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?
Reply
#2

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!
Reply
#3

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

use SetTimerEx function

https://sampwiki.blast.hk/wiki/SetTimerEx
Reply
#5

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

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);
}
Reply
#7

Aw Thanks mate :P
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)