Skip to content

Commit

Permalink
Merge pull request #786 from QB-Extended/main
Browse files Browse the repository at this point in the history
fix(esx_basicneeds): fix docs link
  • Loading branch information
Benzo00 authored Dec 29, 2022
2 parents df7e9c5 + 4c90d4a commit 3b10bf8
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/tutorials/basicneeds^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://docs.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/tutorials/basicneeds^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://docs.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 3b10bf8

Please sign in to comment.