📚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
Last updated