Blockland Forums > Modification Help
Guns Akimbo Bind - (need help)
Kalphiter:
You can't just make the server give you a rocket launcher.
Space Guy:
You could have it look for something in the inventory slots of the same name, then use that one if you have it.
Arcturus:
What about keybinded GunsAkimbo ?
What about if i use AkimboGunImage for the keybind?
Arcturus:
--- Code: ---if (!$addedToolKeys)
{
$remapDivision[$remapCount] = "Rocket Bind";
$remapName[$remapCount] = "UseRocketLauncher";
$remapCmd[$remapCount] = "UseRocketLauncher";
$remapCount++;
$addedToolKeys = true;
}
function useRocketLauncher(%on)
{
if(!%on){return;}
commandtoserver('RocketLauncher');
}
--- End code ---
Kalphiter:
Well how the hell does the server know what to do when you say "/RocketLauncher"?