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
RollingSmokeGaming4K
Date
2 days ago
Ordered by
Carlosse41
Date
4 days ago
Ordered by
aussiecop31
Date
4 days ago
Ordered by
aaron110000
Date
5 days ago
Ordered by
Ales_Kelbler
Date
7 days ago
Ordered by
GUSSONIE_Enzo
Date
7 days ago
Ordered by
God_Speed1
Date
7 days ago
Ordered by
God_Speed1
Date
last week
Ordered by
Arablifegg
Date
last week