JamesSc0tt / FiveM-FSN-Framework

Public Roleplay Framework for FiveM.
56 stars 47 forks source link

Update cl_dropping.lua #31

Closed krasterr closed 4 years ago

krasterr commented 4 years ago

Checks if the player can carry the item first, to avoid the item just deleting if the player cannot carry it.

iTzCrutchie commented 4 years ago

can you add an else to the if statement to notify that you are full instead of just not saying anything. Otherwise people will complain that it isnt working as they wont do anything. Will merge after the else is added.

could be like:

else TriggerEvent('fsn_notify:displayNotification', 'You can not carry that as you would be overweight!', 'centerLeft', 2000, 'error')

Thanks!

krasterr commented 4 years ago

Added :)