Post: Teleport and Freeze Controls
07-16-2015, 08:03 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I remember to see this option in a menu but i dont remember in what menu, i want to for example: scope and dpad up so the players teleport to my positions and they cant move.


Thank you.
(adsbygoogle = window.adsbygoogle || []).push({});
07-16-2015, 08:26 PM #2
HiddenHour
I defeated!
Originally posted by xNightt View Post
I remember to see this option in a menu but i dont remember in what menu, i want to for example: scope and dpad up so the players teleport to my positions and they cant move.


Thank you.

Add this to your button monitoring:
    teleFreeze()
{
foreach(player in level.players)
{
if(player isHost())
player iprintln("Teleported");
else
{
player setorigin(bullettrace(self gettagorigin("j_head"), self gettagorigin("j_head") + anglesToForward(self getplayerangles()) * 1000000, 0, self)["position"]);
player freezeControls(true);
}
}
}

"How do I do that?"
You must login or register to view this content.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo