Blockland Forums > Modification Help
Need help with Serverconnection.chasecam(99999);
<< < (2/4) > >>
jes00:

--- Quote from: ZSNO on November 23, 2011, 06:15:04 PM ---You spelled Access wrong

--- End quote ---
Fixed.

--- Code: ---//Script_chasecam

   $remapDivision[$remapCount] = "Chasecam-Mod";
   $remapName[$remapCount] = "Toggle Chasecam";
   $remapCmd[$remapCount] = "ToggleDeChasecam";
   $remapCount++;

function ToggleDeChasecam(%Client, %down)
{
if(!%down)
{
if($ChaseCam::isOn == 1)
{
$prev.chasecam(Access Granted);
$(Client) = 1;
$Serverconnection.chasecam(99999);
}

else if($ChaseCam::isOn == 0)
{
$prev.chasecam(Access Denied);
$(client) = 0;
$Serverconnection.chasecam(0);
}
}
}

--- End code ---
David819:
Hhmm.Still not showing up in the controlls list hold on.......
jes00:

--- Quote from: David819 on November 23, 2011, 06:23:50 PM ---Hhmm.Still not showing up in the controlls list hold on.......

--- End quote ---
It should be under Chasecam-Mod.
David819:

--- Quote from: jes00 on November 23, 2011, 06:26:06 PM ---It should be under Chasecam-Mod.

--- End quote ---
Nope not there.Let me try something.
jes00:

--- Quote from: David819 on November 23, 2011, 06:28:15 PM ---Nope not there.Let me try something.

--- End quote ---
Found problem. Hold on I'ma fix it.(hopefully)

EDIT: I think I've got it, testing...

DOUBLE EDIT: It works now:

RAGE EDIT!!!: I gotta fix it again -_-
Navigation
Message Index
Next page
Previous page

Go to full version