Citizen.CreateThread(function()while true dofor i, v in pairs(sonneries) dofor j, w in pairs(v) doif Vdist(pos.x, pos.y, pos.z, v[1], v[2], v[3]) <= v[4] thenwhile Vdist(pos.x, pos.y, pos.z, v[1], v[2], v[3]) <= v[4] doif sonneries[i] ~= nil thenTriggerEvent('feu:display', true)if Vdist(pos.x, pos.y, pos.z, v[1], v[2], v[3]) <= v[4]/10*1 thenif timeout == false thensonl(v[5])timeout = trueelselocal sound = v[5]SendNUIMessage({transactionType = 'volume',vol = sound,})endelseif Vdist(pos.x, pos.y, pos.z, v[1], v[2], v[3]) >= v[4]/10*2 and Vdist(pos.x, pos.y, pos.z, v[1], v[2], v[3]) < v[4]/10*3 thenlocal sound = v[5]-0.1if timeout == false thensonl(sound)timeout = trueelseSendNUIMessage({transactionType = 'volume',vol = sound,})end
Pingouin the dev
Community of developers, modders, creators, enthusiasts, around Grand Theft Auto V.
About me
Hey, welcome to my site, my name is penguin and I'm a 17 years old developer. Developer of windows desktop applications in C++, I started FiveM development a few months ago in order to enhance the experience of the rescue RP with scripts.
They trusted me
Ordered by
Alamir_5
Date
4 hours ago
A acheté 3 scripts
Ordered by
ufosunny
Date
3 days ago
Ordered by
FreelanceGem098
Date
4 days ago
A acheté 3 scripts
Ordered by
ProvenceRP
Date
4 days ago
A acheté 6 scripts
Ordered by
Cybersurf_Xxxx
Date
5 days ago
A acheté 4 scripts
Ordered by
WithTheSquadRP
Date
5 days ago
A acheté 3 scripts
Ordered by
CATFIVEPD
Date
7 days ago
A acheté 2 scripts
Ordered by
GrandeSulRP
Date
last week
Ordered by
HaltuAketti420
Date
2 weeks ago