A simple script that lets you buy items when standing near certain props. Compatible with ESX
- Lua 100%
| client.lua | ||
| config.lua | ||
| fxmanifest.lua | ||
| readme.md | ||
| server.lua | ||
FiveM_simple_foodstands
A simple script that lets you buy items when standing near certain props. Works with ESX
Overview
Props as well as prices, items and notifications are fully configurable, however, you can only buy one kind of item from one prop.
[`prop_hotdogstand_01`] = {
item = 'hotdog',
amount = 1,
price = 1,
text = 'Press ~INPUT_PICKUP~, to buy a hotdog for ~g~$1~s~'
},
It uses the ESX Framework, to handle transactions, so the correct amount actually gets deducted from your bankaccount.