19 lines
		
	
	
	
		
			603 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			603 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| --[[ Load the required file based to the server framework ]]
 | |
| 
 | |
| local success, result = pcall(lib.load, ('modules.bridge.%s.server'):format(shared.framework))
 | |
| 
 | |
| if not success then
 | |
|     lib.print.error(result)
 | |
| end
 | |
| 
 | |
| if Config.Hack.tabletItem then
 | |
|     server.CreateUseableItem(Config.Hack.tabletItem, function(source)
 | |
|         TriggerClientEvent(_e('client:hacking:onAtmTabletUsed'), source)
 | |
|     end)
 | |
| end
 | |
| 
 | |
| if Config.Hack.phoneItem then
 | |
|     server.CreateUseableItem(Config.Hack.phoneItem, function(source)
 | |
|         TriggerClientEvent(_e('client:hacking:onHackPhoneUsed'), source)
 | |
|     end)
 | |
| end
 | 
