drucker und fixes
This commit is contained in:
		
							parent
							
								
									5e9804135d
								
							
						
					
					
						commit
						bebc98abca
					
				
					 29 changed files with 673 additions and 7 deletions
				
			
		
							
								
								
									
										12
									
								
								resources/[inventory]/pl_printer/client/bridge/esx.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								resources/[inventory]/pl_printer/client/bridge/esx.lua
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
local ESX = GetResourceState('es_extended'):find('start') and exports['es_extended']:getSharedObject() or nil
 | 
			
		||||
 | 
			
		||||
if not ESX then return end
 | 
			
		||||
 | 
			
		||||
function Notification(msg)
 | 
			
		||||
    ESX.ShowNotification(msg)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
RegisterNetEvent('esx:playerLoaded')
 | 
			
		||||
AddEventHandler('esx:playerLoaded', function()
 | 
			
		||||
    onPlayerLoaded()
 | 
			
		||||
end)
 | 
			
		||||
							
								
								
									
										11
									
								
								resources/[inventory]/pl_printer/client/bridge/qb.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								resources/[inventory]/pl_printer/client/bridge/qb.lua
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
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)
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue