VORP

  • if you don't have already, download oxmysql

  • if you don't have already, download ox_lib

  • go to "server.cfg" and at the beginning of the file add following:

add_ace resource.ox_lib command.add_ace allow
add_ace resource.ox_lib command.remove_ace allow
add_ace resource.ox_lib command.add_principal allow
add_ace resource.ox_lib command.remove_principal allow
ensure ox_lib
  • execute following code in SQL, some of this items you might already have, check before executing, otherwise you will have error

INSERT INTO `items` (`item`, `label`, `limit`, `can_remove`, `type`, `usable`, `groupId`, `metadata`, `desc`) VALUES
	('p_haze', 'Purple Haze', 45, 1, 'item_standard', 1, 1, '{}', ''),
    	('p_haze_seed', 'Purple Haze Seed', 45, 1, 'item_standard', 1, 1, '{}', ''),
	('weedpot', 'Weed Pot', 45, 1, 'item_standard', 1, 1, '{}', ''),
	('water', 'Water', 45, 1, 'item_standard', 1, 1, '{}', '');
  	('fertilizer', 'Fertilizer', 45, 1, 'item_standard', 1, 1, '{}', ''),
  	('cannabis', 'Cannabis', 100, 1, 'item_standard', 1, 1, '{}', '');
  • in the "enpwr_weed/item_images" directory, you'll find a collection of images for items. You can easily integrate these images into your "vorp_inventory/html/img/items" folder.

  • please open the "config.lua" file located at "enpwr_weed/shared/config.lua" and thoroughly review its contents. Customize the configuration to suit your specific requirements

  • please open the "editable.lua" file located at "enpwr_weed/server/editable.lua" and thoroughly review its contents. Customize the code to suit your specific requirements

  • in "server.cfg" add ensure enpwr_weed after all scripts

Last updated