Update stored.lua
This commit is contained in:
		
							parent
							
								
									57477731ab
								
							
						
					
					
						commit
						36dd7753f7
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -24,11 +24,12 @@ AddEventHandler('mh_garage:storeVehicle', function()
 | 
			
		|||
                            id = "thisVehicle",
 | 
			
		||||
                            title = random.name,
 | 
			
		||||
                            options = {
 | 
			
		||||
                                {title = "Kosten: "..CurrentZone.price},
 | 
			
		||||
                                {title = ""},
 | 
			
		||||
                                {title = "Kosten: "..CurrentZone.price.."$"},
 | 
			
		||||
                                {title = "", disabled = true},
 | 
			
		||||
                                {
 | 
			
		||||
                                    title = "Akzeptieren", 
 | 
			
		||||
                                    description = "Geld wird vom Bankkonto abgebucht!", 
 | 
			
		||||
                                    icon = "check",
 | 
			
		||||
                                    onSelect = function()
 | 
			
		||||
                                        lib.hideContext("thisVehicle")
 | 
			
		||||
                                        QBCore.Functions.TriggerCallback('mh_garage:storedVehicle', function(cb)
 | 
			
		||||
| 
						 | 
				
			
			@ -41,7 +42,7 @@ AddEventHandler('mh_garage:storeVehicle', function()
 | 
			
		|||
                                                end
 | 
			
		||||
                                                Notification(cb.text, cb.type)
 | 
			
		||||
                                            end
 | 
			
		||||
                                        end, veh, CurrentZone)
 | 
			
		||||
                                        end, mods, CurrentZone)
 | 
			
		||||
                                    end
 | 
			
		||||
                                },
 | 
			
		||||
                                {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue