Freeze
#1

Hi,
If someone will teleport to some place then i want, it will freeze in air for 3 sec, How ?
Reply
#2

If your using a command to teleport, Then heres how to do it:

This goes right on top of the script with your other "new" and "forward"
pawn Код:
forward DropDelay(playerid);
Put this in your teleport command.
pawn Код:
SetTimerEx("DropDelay",3000,0,"i",playerid);
SetPlayerPos(playerid, X, Y+3, Z);
TogglePlayerControllable(playerid, false);
Place this anywhere in the script.
pawn Код:
public DropDelay(playerid)
{
  TogglePlayerControllable(playerid, true);
}
Reply
#3

Thanks
Reply
#4

i got an Error
Код:
pwn(630) : error 017: undefined symbol "X"
Reply
#5

change the X by the teleport position
Reply
#6

Quote:
Originally Posted by James_Alex
change the X by the teleport position
lol, Can u tell me whts that mean
Reply
#7

pawn Код:
SetPlayerPos(playerid, X, Y+3, Z);
Change the X, Y and Z to the coordinates you want the player to be teleported
Reply
#8

Quote:
Originally Posted by dice7
pawn Код:
SetPlayerPos(playerid, X, Y+3, Z);
Change the X, Y and Z to the coordinates you want the player to be teleported
oooh Thz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)