11 lines
		
	
	
		
			No EOL
		
	
	
		
			305 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			No EOL
		
	
	
		
			305 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| local QBCore = GetResourceState('qb-core'):find('start') and exports['qb-core']:GetCoreObject() or nil
 | |
| 
 | |
| if not QBCore then return end
 | |
| 
 | |
| function Notification(message, type)
 | |
|     QBCore.Functions.Notify(message, type)
 | |
| end
 | |
| 
 | |
| RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function()
 | |
|     onPlayerLoaded()
 | |
| end) | 
