Last active
January 12, 2019 19:40
-
-
Save QuadStorm/eb491f75185254dbe187fed6d7cc5a02 to your computer and use it in GitHub Desktop.
Freezes the camera for an amount of time.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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