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
aspirintabs
Date
18 hours ago
Ordered by
Quentin_Dunord53
Date
3 days ago
Ordered by
DevStone
Date
3 days ago
Ordered by
Schurliii
Date
4 days ago
Ordered by
DevupPRO
Date
5 days ago
Ordered by
William_Barr_Mathias
Date
6 days ago
Ordered by
verydark
Date
6 days ago
A acheté 4 scripts
Ordered by
Skypo
Date
last week
Ordered by
Gm_Farmer
Date
last week