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
TRP-Tobi1
Date
3 hours ago
A acheté 2 scripts
Ordered by
Nuk_Sf
Date
19 hours ago
Ordered by
DignitasMV
Date
yesterday
Ordered by
DignitasMV
Date
yesterday
Ordered by
ilan69
Date
yesterday
Ordered by
vondrs
Date
4 days ago
Ordered by
ErickMarkez
Date
last week
Ordered by
ErickMarkez
Date
last week
Ordered by
T3XAS22
Date
last week