Luiiis
1
Hey guys,
today I want to present a really basic script, which I developed, because of a request from my community!
This script grows your beard over time, when you have a beard (So woman won’t get a beard lul).
The time interval can be set up in the Config.lua.
If you want to create a shaver itm or similar, you can simply trigger the following client event:
TriggerEvent('SimpleBeardGrowth:shave')
You can have a short preview how it works ingame here: https://youtu.be/OC-B57R4H48?t=390 (6:30)
Download: https://github.com/Luis-spec/SimpleBeardGrowth
Have fun with it!
Additional note: I’ve also released myMultichar for the ESX versions v.1.2 and v.1final today (of course also for ESX 1.1), so feel free to check this out:
My other scripts
myJobsystem
EnhancedUI for myBilling
myDrugs
myClothesshop
myProperties
myCarthief
myMapbuilder
myBills
EnhancedBarbershop
myRobbery
15 Likes
_Shota
2
A script that looks promising, nice job
3 Likes
Thank you for share it free!
2 Likes
idk i think its same but this is free
redde05
8
Thank you for not making this a paid script lol good job!
1 Like
Hello, thanks!
Any have script for make a Shaver?
thank you
Luiiis
11
You just have to register a new item somewhere (server-side):
ESX.RegisterUsableItem('shaver', function(source)
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.removeInventoryItem('shaver', 1)
TriggerClientEvent('SimpleBeardGrowth:shave', source)
end)
1 Like
schwim
12
What a fun resource, thanks for the share!
I use old esx, is not working right?
Luiiis
15
It should also work for old ESX versions, doesn’t it?
dewen
16
weird, my beard doesnt grow no matter what time in config i set
i need only to create a server.lua and paste the code right?
Luiiis
18
Set the minutes to 0.1, so it should be added every 10 seconds and check if you currently have your berad_2 at least on 1.
@NewSkill and you have to add the server.lua to the fxmanifest.lua.
dewen
19
Seemed to work but the registered Item doesnt reset the beard, it just gets removed.
ESX.RegisterUsableItem('shaver', function(source)
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.removeInventoryItem('shaver', 1)
TriggerClientEvent('SimpleBeardGrowth:shave', source)
end)
Item is in DB and usable but doesnt seem to do anything.
Any idea?
hey , i was wondering if it works with vMenu MP Peds that have Beards?