Black City Scripts
  • 💯Black City Scripts
  • 🧹bc_communityservice
    • 📚Exports
    • ⚙️Config
  • 🧟bc_zombie
  • 🥇bc_vip
    • 📚Exports
    • 💸Tebex Integration
Powered by GitBook
On this page
  • Client side
  • Server side
  1. bc_communityservice

Exports

Here you can find the script's exports

Client side

exports["bc_communityservice"]:isPlayerOnCummunityservice()
  • return

    • bool

exports["bc_communityservice"]:isPlayerInAnim()
  • return

    • bool

Server side

exports["bc_communityservice"]:GetPlayerCommunityservice(id)
  • parameters

    • id: number (player server id) or string (player’s identifier, if Config.CharacterBased is false then license:... else the identifier from sql)

  • return

    • false or table (with these upvalues):

      • remaining: number

      • allactions: number

      • reason: string

      • admin: string

      • time: string

exports["bc_communityservice"]:GivePlayerCommunityservice(id, count, admin, reason)
  • parameters

    • id: number (player server id) or string (player’s identifier, if Config.CharacterBased is false then license:... else the identifier from sql)

    • count: number

    • admin: string (optional)

    • reason: string (optional)

  • return

    • bool

exports["bc_communityservice"]:RemoveFromCommunityservice(id, reason)
  • parameters

    • id: number (player server id) or string (player’s identifier, if Config.CharacterBased is false then license:... else the identifier from sql)

    • reason: string (optional)

  • return

    • bool

Previousbc_communityserviceNextConfig

Last updated 1 year ago

🧹
📚