Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- requires https://pastebin.com/jE4guV48 - my persistence library
- local persist = require "persistence"
- local citizens = persist "citizens"
- local votes = persist "votes"
- local function is_citizen(player)
- citizens:reload()
- return citizens[player] and citizens[player].is_citizen
- end
- while true do
- local event, player, command, arguments = os.pullEvent "command"
- if command == "keansia" then
- local subcommand = arguments[1]
- if subcommand == "election" then
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement