so if I run this Command:
Code: Select all
/c
local player = game.get_player( "LuziferSenpai" )
local shortcut = "toggle-equipment-movement-bonus"
if player.is_shortcut_toggled( shortcut ) then
game.print( "true" )
player.set_shortcut_toggled( shortcut, false )
else
game.print( "false" )
player.set_shortcut_toggled( shortcut, true )
end
Same goes with "toggle-personal-roboport".
Greetz,
Luzifer