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
PewfanOff
Date
4 hours ago
Ordered by
OfficialJHagen
Date
2 days ago
A acheté 7 scripts
Ordered by
New_Island_Roleplay
Date
2 days ago
Ordered by
FrenchLife75
Date
4 days ago
Ordered by
FlorianHegui
Date
last week
Ordered by
Quentin_Dunord53
Date
last week
Ordered by
RealOneDarko
Date
last week
Ordered by
New_Island_Roleplay
Date
2 weeks ago
Ordered by
Fwezerr_Fwe
Date
2 weeks ago