Update stored.lua
This commit is contained in:
		
							parent
							
								
									b5276e45d1
								
							
						
					
					
						commit
						03fd2d2e7b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -9,7 +9,7 @@ AddEventHandler('mh_garage:storeVehicle', function(zone) | |||
|     local opt = {} | ||||
| print("1") | ||||
|     for i = 1, #vehicles, 1 do | ||||
|         local veh_coords = GetEntityCoords(vehicles[1]) | ||||
|         local veh_coords = GetEntityCoords(vehicles[i]) | ||||
|         local distance = #(veh_coords - coords) | ||||
| print(distance) | ||||
|         if distance < 40.0 then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Miho931
						Miho931