Blockland Forums > Suggestions & Requests
Admin Cloak
-Blok-:
--- Quote from: Gen. Hothauser on August 07, 2012, 05:56:28 PM ---Use AdminX, it has a cloak function that hides your player and your name, really far away and really close, not in between for some reason.
--- End quote ---
As said in an entire paragraph above, I am aware of this add-on and this is not what I want. I need something that can be key-binded.
phflack:
you could just make the keybind yourself
--- Code: ---$remapdivision[$remapcount] = "Cloak";
$remapname[$remapcount] = "Activate";
$remapcmd[$remapcount] = "cloakme";
$remapcount++;
function cloakme(%a)
{
if(%a)
commandtoserver('cloak');
}
--- End code ---
that makes it so when you press the keybind, it's like typing /cloak
-Blok-:
--- Quote from: phflack on August 07, 2012, 06:44:28 PM ---you could just make the keybind yourself
--- Code: ---$remapdivision[$remapcount] = "Cloak";
$remapname[$remapcount] = "Activate";
$remapcmd[$remapcount] = "cloakme";
$remapcount++;
function cloakme(%a)
{
if(%a)
commandtoserver('cloak');
}
--- End code ---
that makes it so when you press the keybind, it's like typing /cloak
--- End quote ---
Does it still require you to ctrl k to uncloak?
phflack:
if that's how you normaly uncloak, then yeah...
why would you think this changes anything? it's just keybinding /cloak
-Blok-:
--- Quote from: phflack on August 07, 2012, 06:54:56 PM ---if that's how you normaly uncloak, then yeah...
why would you think this changes anything? it's just keybinding /cloak
--- End quote ---
Can you make it so you can turn it on and off without having to ctrl k? I can't script so I have no clue what I am doing.
It would be super helpful if you posted the updated add-on here.