Skip to content

Commit

Permalink
fix(esx_basicneeds): new docs link
Browse files Browse the repository at this point in the history
  • Loading branch information
Mycroft-Studios committed Dec 29, 2022
1 parent 4c90d4a commit 0306c2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions [esx_addons]/esx_basicneeds/client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ end)
RegisterNetEvent('esx_basicneeds:onEat')
AddEventHandler('esx_basicneeds:onEat', function(prop_name)
local Invoke = GetInvokingResource()
print(('[^3WARNING^7] ^5%s^7 used ^5esx_basicneeds:onEat^7, this method is deprecated and should not be used! Refer to ^5https://docs.esx-framework.org/addons/esx_basicneeds/events/oneat^7 for more info!'):format(Invoke))
print(('[^3WARNING^7] ^5%s^7 used ^5esx_basicneeds:onEat^7, this method is deprecated and should not be used! Refer to ^5https://documentation.esx-framework.org/addons/esx_basicneeds/events/oneat^7 for more info!'):format(Invoke))

if not prop_name then
prop_name = 'prop_cs_burger_01'
Expand All @@ -119,7 +119,7 @@ end)
RegisterNetEvent('esx_basicneeds:onDrink')
AddEventHandler('esx_basicneeds:onDrink', function(prop_name)
local Invoke = GetInvokingResource()
print(('[^3WARNING^7] ^5%s^7 used ^5esx_basicneeds:onDrink^7, this method is deprecated and should not be used! Refer to ^5https://docs.esx-framework.org/addons/esx_basicneeds/events/ondrink^7 for more info!'):format(Invoke))
print(('[^3WARNING^7] ^5%s^7 used ^5esx_basicneeds:onDrink^7, this method is deprecated and should not be used! Refer to ^5https://documentation.esx-framework.org/addons/esx_basicneeds/events/ondrink^7 for more info!'):format(Invoke))

if not prop_name then
prop_name = 'prop_ld_flow_bottle'
Expand Down

0 comments on commit 0306c2f

Please sign in to comment.