EnsurePlayerSpawn(playerid,x,y,z);
#4

You can actually freeze players for 1-2 seconds when they are teleported to the place, where your custom objects are.
Top of the script:
pawn Код:
forward ToggleControl(playerid);
Where you need to freeze:
pawn Код:
TogglePlayerControllable(playerid,0);
SetTimerEx("ToggleControl", 1500, 0, "i", playerid);
Somewhere:
pawn Код:
public ToggleControl(playerid)
{
  TogglePlayerControllable(playerid,1);
}
Reply


Messages In This Thread
EnsurePlayerSpawn(playerid,x,y,z); - by Enzo_Ferrari_V12 - 16.10.2009, 01:10
Re: EnsurePlayerSpawn(playerid,x,y,z); - by ilikepie2221 - 16.10.2009, 01:20
Re: EnsurePlayerSpawn(playerid,x,y,z); - by Enzo_Ferrari_V12 - 16.10.2009, 01:59
Re: EnsurePlayerSpawn(playerid,x,y,z); - by CracK - 16.10.2009, 02:04
Re: EnsurePlayerSpawn(playerid,x,y,z); - by Enzo_Ferrari_V12 - 16.10.2009, 02:22
Re: EnsurePlayerSpawn(playerid,x,y,z); - by CracK - 16.10.2009, 03:51
Re: EnsurePlayerSpawn(playerid,x,y,z); - by Extremo - 16.10.2009, 07:28
Re: EnsurePlayerSpawn(playerid,x,y,z); - by CracK - 16.10.2009, 08:10
Re: EnsurePlayerSpawn(playerid,x,y,z); - by Sergei - 16.10.2009, 08:16
Re: EnsurePlayerSpawn(playerid,x,y,z); - by Extremo - 16.10.2009, 08:32

Forum Jump:


Users browsing this thread: 1 Guest(s)