I'm attempting to make this work, but I'm having some trouble. The options show up in the "Controls" menu, but when I press the binded keys, the crosshiar does not change from the default file. Here is the code frim the "client" file:
if (!$CrossSwitch)
{
$remapDivision[$remapCount] = "Crosshairs";
$remapName[$remapCount] = "Default";
$remapCmd[$remapCount] = "Default_Switch";
$remapCount++;
$remapName[$remapCount] = "GunAim";
$remapCmd[$remapCount] = "GunAim_Switch";
$remapCount++;
$remapName[$remapCount] = "GunAim_RedDot";
$remapCmd[$remapCount] = "GunAim_RedDot_Switch";
$remapCount++;
$remapName[$remapCount] = "LargeScope";
$remapCmd[$remapCount] = "LargeScope_Switch";
$remapCount++;
$MyGuiBinds = 1;
}
function Default_Switch()
{
Crosshair.bitmap = "Add-ons/Script_SwitchCrosshairs/Default/crossHair";
}
function GunAim_Switch()
{
Crosshair.bitmap = "Add-ons/Script_SwitchCrosshairs/GunAim/crossHair";
}
function GunAim_RedDot_Switch()
{
Crosshair.bitmap = "Add-ons/Script_SwitchCrosshairs/GunAim_RedDot/crossHair";
}
function LargeScope_Switch()
{
Crosshair.bitmap = "Add-ons/Script_SwitchCrosshairs/LargeScope/crossHair";
}