Skip to content

Instantly share code, notes, and snippets.

@QuadStorm
Last active January 12, 2019 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QuadStorm/eb491f75185254dbe187fed6d7cc5a02 to your computer and use it in GitHub Desktop.
Save QuadStorm/eb491f75185254dbe187fed6d7cc5a02 to your computer and use it in GitHub Desktop.
Freezes the camera for an amount of time.
function chaseCamClientToggle(%down)
{
if (!%down)
return;
if(isObject(serverConnection))
{
if ($chaseCam)
{
$chaseCam = false;
serverConnection.chaseCam(0);
}
else
{
$chaseCam = true;
serverConnection.chaseCam(9999);
}
}
}
if(!$freezeCamBind)
{
$remapDivision[$remapCount] = "Camera";
$remapName[$remapCount] = "Freeze Camera";
$remapCmd[$remapCount] = "chaseCamClientToggle";
$remapCount++;
$freezeCamBind = true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment