Skip to content

Commit

Permalink
Update vlayer.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
PHIDIAS0303 committed Feb 14, 2024
1 parent 2170bc9 commit 5ed1fd9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions modules/commands/vlayer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,14 @@ Commands.new_command('personal-battery-recharge', 'Recharge Player Battery upto

return Commands.success
end)

Commands.new_command('vlayer-info', 'Vlayer Info')
:register(function(player)
local c = vlayer.get_circuits()

for k, v in pairs(vlayer.get_circuits()) do
player.print(v .. ' : ' .. k)
end

return Commands.success
end)

0 comments on commit 5ed1fd9

Please sign in to comment.