💻Installation

Dependencies

ES EXTENDED

You will need the latest version of es_extended.

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.

Installing the resource

  • Make sure you have the dependencies listed above installed.

  • Extract the contents of the archive to your resources folder.

  • Ensure zat-washmoney on the server.cfg.

  • If You are using For ox_inventory :

    • under ox_inventory\modules\items\client.lua:

Item('washmachine', function(data, slot)
	local model = "bkr_prop_prtmachine_dryer_op"
	local id = "WashMachine_"..math.random(111111,999999)
	TriggerEvent("zat-washmoney:client:PlaceTable", id, model)
end)
  • If you are using qs-inventory :

    • under qs-inventory/server/custom/misc/createuseableitems.lua :

      CreateUsableItem('washmachine', function(source, item)
          local playerPed = GetPlayerPed(source)
          local playerCoords = GetEntityCoords(playerPed)
          local players = FrameworkGetPlayers()
          local model = "bkr_prop_prtmachine_dryer_op"
          local id = "WashMachine_"..math.random(111111,999999)
          TriggerClientEvent("zat-washmoney:client:PlaceTable", source, id, model)
      end)
  • Add washmahine.sql into the database.

Last updated