Neler yeni

Foruma hoş geldin, Ziyaretçi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.

Türkiye'nin İlk ve tek FiveM forum adresi

Forum adresimize hoş geldin FiveMTürk olarak amacımız siz değerli kullanıcılarımıza en aktif fikir ve paylaşım platformu sunmak bir yana en güvenilir şekilde alışveriş yapabileceğiniz bir platform sunmaktır.
DF DF
DF DF
DF DF

Script Su Altı regületör

Aliekerr

Üye
FT Kullanıcı
Katılım
2 yıl 10 ay 5 gün
Mesajlar
136
Qbu pakette bulununan 'Su Altı Regületorü' isimli scripti arıyorum. Elinde alan paylasırsa sevinirim. Iyi gunlerrr. (Dalgıc scripti)
 
Qbu pakette bulununan 'Su Altı Regületorü' isimli scripti arıyorum. Elinde alan paylasırsa sevinirim. Iyi gunlerrr. (Dalgıc scripti)

Konunuz yanlış kategoride açıldığı için tarafımca doğru kategoriye taşınmıştır.

Saygılarımla, iyi forumlar​
 
Her hangi bir client dosyasına



RegisterNetEvent('viber-base:dalgictupu')
AddEventHandler('viber-base:dalgictupu', function()
local playerPed = GetPlayerPed(-1)
exports['mythic_progbar']: Progress({
name = "dalgictupu",
duration = 7000,
label = 'Takıyorsun...',
useWhileDead = false,
canCancel = false,
controlDisables = {
disableMovement = false,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
}, function(cancelled)
if not cancelled then
local pCoords = GetEntityCoords(playerPed)
local boneIndex = GetPedBoneIndex(playerPed, 12844)
local boneIndex2 = GetPedBoneIndex(playerPed, 24818)
local mask = CreateObject(GetHashKey('p_s_scuba_mask_s'), pCoords.x, pCoords.y, pCoords.z - 3, 1, 1, 1)
local tank = CreateObject(GetHashKey('p_s_scuba_tank_s'), pCoords.x, pCoords.y, pCoords.z - 3, 1, 1, 1)
AttachEntityToEntity(tank, playerPed, boneIndex2, -0.30, -0.22, 0.0, 0.0, 90.0, 180.0, true, true, false, true, 1, true)
AttachEntityToEntity(mask, playerPed, boneIndex, 0.0, 0.0, 0.0, 0.0, 90.0, 180.0, true, true, false, true, 1, true)
SetPedDiesInWater(playerPed, false)

TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Dalgıç tüpünü giydin.'})
Citizen.Wait(50000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Oksijen tüpünde kalan: %50'})
Citizen.Wait(25000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Oksijen tüpünde kalan: %25'})
Citizen.Wait(25000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'error', text = 'Oksijen tüpünde kalan: %0'})

SetPedDiesInWater(playerPed, true)
DeleteObject(mask)
DeleteObject(tank)
ClearPedSecondaryTask(playerPed)
end
end)
end)

her hangi bir server side a


ESX.RegisterUsableItem('dalgictupu', function(source)
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.removeInventoryItem('dalgictupu', 1)
TriggerClientEvent('viber-base:dalgictupu', source)
end)
 
Her hangi bir client dosyasına



RegisterNetEvent('viber-base:dalgictupu')
AddEventHandler('viber-base:dalgictupu', function()
local playerPed = GetPlayerPed(-1)
exports['mythic_progbar']: Progress({
name = "dalgictupu",
duration = 7000,
label = 'Takıyorsun...',
useWhileDead = false,
canCancel = false,
controlDisables = {
disableMovement = false,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
}, function(cancelled)
if not cancelled then
local pCoords = GetEntityCoords(playerPed)
local boneIndex = GetPedBoneIndex(playerPed, 12844)
local boneIndex2 = GetPedBoneIndex(playerPed, 24818)
local mask = CreateObject(GetHashKey('p_s_scuba_mask_s'), pCoords.x, pCoords.y, pCoords.z - 3, 1, 1, 1)
local tank = CreateObject(GetHashKey('p_s_scuba_tank_s'), pCoords.x, pCoords.y, pCoords.z - 3, 1, 1, 1)
AttachEntityToEntity(tank, playerPed, boneIndex2, -0.30, -0.22, 0.0, 0.0, 90.0, 180.0, true, true, false, true, 1, true)
AttachEntityToEntity(mask, playerPed, boneIndex, 0.0, 0.0, 0.0, 0.0, 90.0, 180.0, true, true, false, true, 1, true)
SetPedDiesInWater(playerPed, false)

TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Dalgıç tüpünü giydin.'})
Citizen.Wait(50000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Oksijen tüpünde kalan: %50'})
Citizen.Wait(25000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Oksijen tüpünde kalan: %25'})
Citizen.Wait(25000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'error', text = 'Oksijen tüpünde kalan: %0'})

SetPedDiesInWater(playerPed, true)
DeleteObject(mask)
DeleteObject(tank)
ClearPedSecondaryTask(playerPed)
end
end)
end)

her hangi bir server side a


ESX.RegisterUsableItem('dalgictupu', function(source)
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.removeInventoryItem('dalgictupu', 1)
TriggerClientEvent('viber-base:dalgictupu', source)
end)
Dostum supersin, database ESX.RegisterUsableItem('dalgictupu bunu yaziyorum degio mi
 
Her hangi bir client dosyasına



RegisterNetEvent('viber-base:dalgictupu')
AddEventHandler('viber-base:dalgictupu', function()
local playerPed = GetPlayerPed(-1)
exports['mythic_progbar']: Progress({
name = "dalgictupu",
duration = 7000,
label = 'Takıyorsun...',
useWhileDead = false,
canCancel = false,
controlDisables = {
disableMovement = false,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
}, function(cancelled)
if not cancelled then
local pCoords = GetEntityCoords(playerPed)
local boneIndex = GetPedBoneIndex(playerPed, 12844)
local boneIndex2 = GetPedBoneIndex(playerPed, 24818)
local mask = CreateObject(GetHashKey('p_s_scuba_mask_s'), pCoords.x, pCoords.y, pCoords.z - 3, 1, 1, 1)
local tank = CreateObject(GetHashKey('p_s_scuba_tank_s'), pCoords.x, pCoords.y, pCoords.z - 3, 1, 1, 1)
AttachEntityToEntity(tank, playerPed, boneIndex2, -0.30, -0.22, 0.0, 0.0, 90.0, 180.0, true, true, false, true, 1, true)
AttachEntityToEntity(mask, playerPed, boneIndex, 0.0, 0.0, 0.0, 0.0, 90.0, 180.0, true, true, false, true, 1, true)
SetPedDiesInWater(playerPed, false)

TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Dalgıç tüpünü giydin.'})
Citizen.Wait(50000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Oksijen tüpünde kalan: %50'})
Citizen.Wait(25000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Oksijen tüpünde kalan: %25'})
Citizen.Wait(25000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'error', text = 'Oksijen tüpünde kalan: %0'})

SetPedDiesInWater(playerPed, true)
DeleteObject(mask)
DeleteObject(tank)
ClearPedSecondaryTask(playerPed)
end
end)
end)

her hangi bir server side a


ESX.RegisterUsableItem('dalgictupu', function(source)
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.removeInventoryItem('dalgictupu', 1)
TriggerClientEvent('viber-base:dalgictupu', source)
end)
Yqnlis yazmisim 'dalgictupu' yazicagim di mi
 
Her hangi bir client dosyasına



RegisterNetEvent('viber-base:dalgictupu')
AddEventHandler('viber-base:dalgictupu', function()
local playerPed = GetPlayerPed(-1)
exports['mythic_progbar']: Progress({
name = "dalgictupu",
duration = 7000,
label = 'Takıyorsun...',
useWhileDead = false,
canCancel = false,
controlDisables = {
disableMovement = false,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
}, function(cancelled)
if not cancelled then
local pCoords = GetEntityCoords(playerPed)
local boneIndex = GetPedBoneIndex(playerPed, 12844)
local boneIndex2 = GetPedBoneIndex(playerPed, 24818)
local mask = CreateObject(GetHashKey('p_s_scuba_mask_s'), pCoords.x, pCoords.y, pCoords.z - 3, 1, 1, 1)
local tank = CreateObject(GetHashKey('p_s_scuba_tank_s'), pCoords.x, pCoords.y, pCoords.z - 3, 1, 1, 1)
AttachEntityToEntity(tank, playerPed, boneIndex2, -0.30, -0.22, 0.0, 0.0, 90.0, 180.0, true, true, false, true, 1, true)
AttachEntityToEntity(mask, playerPed, boneIndex, 0.0, 0.0, 0.0, 0.0, 90.0, 180.0, true, true, false, true, 1, true)
SetPedDiesInWater(playerPed, false)

TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Dalgıç tüpünü giydin.'})
Citizen.Wait(50000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Oksijen tüpünde kalan: %50'})
Citizen.Wait(25000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'inform', text = 'Oksijen tüpünde kalan: %25'})
Citizen.Wait(25000)
TriggerEvent('mythic_notify:client:SendAlert', { type = 'error', text = 'Oksijen tüpünde kalan: %0'})

SetPedDiesInWater(playerPed, true)
DeleteObject(mask)
DeleteObject(tank)
ClearPedSecondaryTask(playerPed)
end
end)
end)

her hangi bir server side a


ESX.RegisterUsableItem('dalgictupu', function(source)
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.removeInventoryItem('dalgictupu', 1)
TriggerClientEvent('viber-base:dalgictupu', source)
end)
dostum bunu kurdum fakat bunda fener yok
 

Forumdan daha fazla yararlanmak için giriş yapın yada üye olun!

Forumdan daha fazla yararlanmak için giriş yapın veya kayıt olun!

Kayıt ol

Forumda bir hesap oluşturmak tamamen ücretsizdir.

Şimdi kayıt ol
Giriş yap

Eğer bir hesabınız var ise lütfen giriş yapın

Giriş yap

Bu konuyu görüntüleyen kullanıcılar

Tema düzenleyici

Tema özelletirmeleri

Granit arka planlar

Lütfen Javascript'i etkinleştirin!Javascript'i etkinleştirin!