RedEM-RP

  • 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
  • go to "redemrp_inventory/config.lua" and add following items:

["p_haze"] = {
    label = "Purple Haze",
    description = "",
    weight = 0.01,
    canBeDropped = true,
    canBeUsed = true,
    limit = 200,
    imgsrc = "items/p_haze.png",
    type = "item_standard"
},
["p_haze_seed"] = {
    label = "Purple Haze",
    description = "",
    weight = 0.01,
    canBeDropped = true,
    canBeUsed = true,
    limit = 200,
    imgsrc = "items/p_haze_seed.png",
    type = "item_standard"
},
["weedpot"] = {
    label = "Weed Pot",
    description = "",
    weight = 0.01,
    canBeDropped = true,
    canBeUsed = true,
    limit = 200,
    imgsrc = "items/weedpot.png",
    type = "item_standard"
},
["cannabis"] = {
    label = "Cannabis",
    description = "",
    weight = 0.01,
    canBeDropped = true,
    canBeUsed = true,
    limit = 200,
    imgsrc = "items/cannabis.png",
    type = "item_standard"
},
["fertilizer"] = {
    label = "Fertilizer",
    description = "",
    weight = 0.01,
    canBeDropped = true,
    canBeUsed = true,
    limit = 200,
    imgsrc = "items/fertilizer.png",
    type = "item_standard"
},
["water"] = {
    label = "Water",
    description = "Some refreshing water to keep you hydrated",
    weight = 0.01,
    canBeDropped = true,
    canBeUsed = true,
    limit = 200,
    imgsrc = "items/water.png",
    type = "item_standard"
},
  • you already might have some of this items so check before adding them

  • in the "enpwr_weed/item_images" directory, you'll find a collection of images for items. You can easily integrate these images into your "redemrp_inventory/html/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