Server Exports

circle-exclamation

Getting count via name of the job (return number)

exports['pinkFrog_scoreBoard']:scoreBoardUnitServer'police')

Example usage in other scripts:

local count = exports['pinkFrog_scoreBoard']:scoreBoardUnitServer('police')
	
if count >= 1 then 
	print("Can Rob - it's only example") 
	else 
	print("Can't rob, no police :c")
end

Last updated