This is something simple that I made so people can easily add these items or simply add new items to this script instead of putting it somewhere else, just makes it more organized. I have revamped this Script to make it easier than the Original Release, so you will want to update this script. This script adds Coca-Cola, Mtn Dew, Monster Energy, Burger, Bowl of Spaghetti, Taco, Beer and Tequila and makes them usable and adds to hunger, thirst and drunk.
I have Revamped this script, so if you originally downloaded this script before I posted this (1/8/2020, 2:00 AM ET) then you may want to redownload this script or update your source!
Just makes it more organized, why would anyone be so rude and post some nonsense on someones post, someone apparently wasnât taught manners as a childâŚsmh
Honestly this isnât for people that know how to do it, I wrote this with extra slots so people that donât know how to do it can easily add items, for people that know what they are doing you would just put it in basicneeds, but this has alot of things that is commented out so people can easily add items that donât know how.
I agree with @LifeGoal there really isnât a point in having this⌠All you did was pretty much copy esx_basicneeds⌠This is just adding another nonsense resource to someones server. If ppl donât know how to add the items in basic needs themselves then they either need to learn or not run a serverâŚ
See that thats whats wrong with the FiveM Community, instead of you guys trying to help people, your just like, well⌠learn it or donât run a server, look, everyone must start somewhere, if you donât like it, donât download it, I just put this out to help people that donât know how to do this, when I started out, I wish I had this to help me learn, but no I had to learn the hard way, so I made this to help people out, you should see all the DMs I have thanking me for this release, like I said if you donât like the release and donât like that someone is actually trying to help the people that are not experienced as us then donât download and theres the door!
This is where your wrong⌠Your saying you wish you had this when you started to help you learn⌠But how would this help you learn? This is just giving someone a bullshit easy way to have shit added⌠And you know what? I help a lot of ppl and tbh i probably get more help then i give because there is still a lot that I donât know. But i would rather go look at where the code should actually goes then part stuff somewhere that is just a â copy & paste â from where i should actually be putting the code⌠What you did here is not to try and help ppl learn, seems like you did this to enable to ppl to continue to be lazy⌠Anyways yes it is awesome that you wanna share something with the community and wanna help out others. But remember this is just my âOpinionâ about this release, and who says my opinion even matters. So keep doing what your doing
I totally understand, and thanks for opinion, but I donât feel like this is a script to promote lazyness, If someone donât know how to do things then they can get this script and once they do this a couple times they will learn that it is a copy and paste anyways, look everyone is titled to their own opinions, thank you for your honesty.
IMO, Itâs not only the âfivem communityââŚon ANY gameâs community, this kind of releases will get flamed, and itâs for a single reason, people ARE LAZY, and IF you give them things âin a silver plateââŚthey just WONT learn, because most of the âserver ownersâ know shit about what theyâre using/doing, so handing them ready to use stuff wonât really helpâŚwe need people to be willing to learnâŚnot just drag & drop resources like insanesâŚthen we see posts with those servers owners, with 400+ crappy resources complaining about fivemâs functionality, and itâs only their fault for adding all that crapâŚbut as they dont know, they will just complain and ask for help (and most of them donât want help, they want solutions handed to them actually)âŚ
again, itâs just My OpinionâŚIâm still learning, and I may ask for help too, but only after burning my eyes trying to find a solution on my ownâŚand thatâs what I think everyone else should doâŚin the end, the points on doing this and being here are learning and improving codeâŚor did I get it wrong??
Just to be clear, I Love when people like you try to help people outâŚI was like that a time agoâŚthen I realized people didnât wanna learnâŚthey just want ready to use stuffâŚand when I tried to explain them how to fix something they just said âcant you send me the fixed file?ââŚthatâs pretty much annoying TBHâŚ
Itâs not ready to use, you have to have to implement things yourself, I made a tutorial on how to do this, so they can add more items. I understand everyoneâs point though!
I quite like this to be honest, simple to use and guess what, you have to customize it either way and that way you can start to understand some very basics about the functionality of esx_basicneeds with some examples. Itâs learning by doing. Just think back to when you were in school, a teacher should never go up to a kid that has a question and go âI donât know how to write, learn it yourselfâ.
I have no clue how to add new items to basicneeds I have trouble learning and following tutorials so I appreciate this so much I will give it a try but I just want to say keep up the amazing work and this sounds like this will really help out people who are like me that it is hard for us to understand and comprehend new things and things that are complicated so I truly appreciate people like you that are looking out for people like me that want to try do these type of things thanks so much I appreciate it and you have my respect 100%
Some people are disabled and it is hard for them to learn and do things on their own js not everyone can learn things on their own some people need all the help they can get but some just have excuses and are just lazy and donât want to do anything on their own even if they donât have a disability me I have problems learning and Iâm looking out for those ones who are like me that have trouble.
To add a normal item all you have to do is insert it into the database like every other item. If you want that to be useable, you will have to use the same process as with food, but instead of the whole TriggerClientEvent('esx_status:add', source... you do this:
ESX.RegisterUsableItem('your_custom_item', function(source)
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.removeInventoryItem('your_custom_item', 1) -- If you want to remove it on use
TriggerClientEvent('customTrigger:doSomething', source) -- Trigger an event for the client using it
end)